kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
fix: nodelist sort by `viaMqtt`
rodzic
1a86de224d
commit
02af81aeb0
|
@ -69,7 +69,7 @@ interface NodeInfoDao {
|
|||
ELSE hops_away
|
||||
END
|
||||
WHEN :sort = 'channel' THEN channel
|
||||
WHEN :sort = 'via_mqtt' THEN long_name LIKE '%(MQTT)' -- viaMqtt
|
||||
WHEN :sort = 'via_mqtt' THEN via_mqtt
|
||||
ELSE 0
|
||||
END ASC,
|
||||
last_heard DESC
|
||||
|
|
|
@ -1394,8 +1394,8 @@ class MeshService : Service(), Logging {
|
|||
if (isLicensed) clearPublicKey()
|
||||
if (info.viaMqtt) longName = "$longName (MQTT)"
|
||||
}
|
||||
it.longName = info.user.longName
|
||||
it.shortName = info.user.shortName
|
||||
it.longName = it.user.longName
|
||||
it.shortName = it.user.shortName
|
||||
}
|
||||
|
||||
if (info.hasPosition()) {
|
||||
|
|
Ładowanie…
Reference in New Issue