sforkowany z mirror/meshtastic-android
fix: revert to ChannelSet addSettings method without index
fixes throwing Non-fatal Exception: java.lang.IndexOutOfBoundsException: Index: N, Size: nmaster
rodzic
69c79c331f
commit
7eeb0b4d6f
|
@ -53,7 +53,7 @@ class ChannelSetRepository @Inject constructor(
|
|||
preference.toBuilder().setSettings(channel.index, channel.settings).build()
|
||||
}
|
||||
} else {
|
||||
preference.toBuilder().addSettings(channel.index, channel.settings).build()
|
||||
preference.toBuilder().addSettings(channel.settings).build()
|
||||
}
|
||||
}
|
||||
return getAdminChannel()
|
||||
|
|
Ładowanie…
Reference in New Issue