File tree 1 file changed +0
-4
lines changed
app/src/main/java/com/geeksville/mesh/ui/radioconfig/components
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import androidx.lifecycle.compose.collectAsStateWithLifecycle
38
38
import com.geeksville.mesh.MeshProtos
39
39
import com.geeksville.mesh.R
40
40
import com.geeksville.mesh.copy
41
- import com.geeksville.mesh.model.getInitials
42
41
import com.geeksville.mesh.ui.components.EditTextPreference
43
42
import com.geeksville.mesh.ui.components.PreferenceCategory
44
43
import com.geeksville.mesh.ui.components.PreferenceFooter
@@ -103,9 +102,6 @@ fun UserConfigItemList(
103
102
keyboardActions = KeyboardActions (onDone = { focusManager.clearFocus() }),
104
103
onValueChanged = {
105
104
userInput = userInput.copy { longName = it }
106
- if (getInitials(it).toByteArray().size <= 4 ) { // short_name max_size:5
107
- userInput = userInput.copy { shortName = getInitials(it) }
108
- }
109
105
}
110
106
)
111
107
}
You can’t perform that action at this time.
0 commit comments