fix: channel list display issues

- show modem preset name if channel name is empty for remote nodes
- fix channel list not showing last channel (index 7)
This commit is contained in:
andrekir 2023-05-21 18:32:33 -03:00
parent d58e092333
commit 0a3a07f9ed
3 changed files with 18 additions and 33 deletions

View file

@ -509,7 +509,6 @@ class UIViewModel @Inject constructor(
private fun setRemoteChannel(destNum: Int, channel: ChannelProtos.Channel) {
try {
debug("Sending channel ${channel.index} to $destNum")
meshService?.setRemoteChannel(destNum, channel.toByteArray())
} catch (ex: RemoteException) {
errormsg("Can't set channel on radio ${ex.message}")