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
|
ELSE hops_away
|
||||||
END
|
END
|
||||||
WHEN :sort = 'channel' THEN channel
|
WHEN :sort = 'channel' THEN channel
|
||||||
WHEN :sort = 'via_mqtt' THEN long_name LIKE '%(MQTT)' -- viaMqtt
|
WHEN :sort = 'via_mqtt' THEN via_mqtt
|
||||||
ELSE 0
|
ELSE 0
|
||||||
END ASC,
|
END ASC,
|
||||||
last_heard DESC
|
last_heard DESC
|
||||||
|
|
|
@ -1394,8 +1394,8 @@ class MeshService : Service(), Logging {
|
||||||
if (isLicensed) clearPublicKey()
|
if (isLicensed) clearPublicKey()
|
||||||
if (info.viaMqtt) longName = "$longName (MQTT)"
|
if (info.viaMqtt) longName = "$longName (MQTT)"
|
||||||
}
|
}
|
||||||
it.longName = info.user.longName
|
it.longName = it.user.longName
|
||||||
it.shortName = info.user.shortName
|
it.shortName = it.user.shortName
|
||||||
}
|
}
|
||||||
|
|
||||||
if (info.hasPosition()) {
|
if (info.hasPosition()) {
|
||||||
|
|
Ładowanie…
Reference in New Issue