mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-04 22:23:47 -04:00
allow longer channel names (if you include the # prefix and suffix
This commit is contained in:
@@ -243,7 +243,7 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
|
||||
val random = SecureRandom()
|
||||
val bytes = ByteArray(32)
|
||||
random.nextBytes(bytes)
|
||||
newSettings.name = newName // Only change the name if the user did some editing
|
||||
newSettings.name = newName
|
||||
newSettings.psk = ByteString.copyFrom(bytes)
|
||||
} else {
|
||||
debug("Switching back to default channel")
|
||||
|
||||
Reference in New Issue
Block a user