mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-21 14:29:28 -04:00
fix: revert to ChannelSet addSettings method without index
fixes throwing Non-fatal Exception: java.lang.IndexOutOfBoundsException: Index: N, Size: n
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user