mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
show coordinates with geo url to open in other mapping app
This commit is contained in:
parent
53745ca9f5
commit
452bf6f6cb
5 changed files with 25 additions and 17 deletions
|
|
@ -1235,7 +1235,7 @@ class MeshService : Service(), Logging {
|
|||
MyNodeInfo(
|
||||
myNodeNum,
|
||||
hasGps,
|
||||
hwModel,
|
||||
hwModelDeprecated,
|
||||
firmwareVersion,
|
||||
firmwareUpdateFilename != null,
|
||||
isBluetoothInterface && SoftwareUpdateService.shouldUpdate(
|
||||
|
|
@ -1545,10 +1545,10 @@ class MeshService : Service(), Logging {
|
|||
*/
|
||||
private fun setFirmwareUpdateFilename(info: MeshProtos.MyNodeInfo) {
|
||||
firmwareUpdateFilename = try {
|
||||
if (info.region != null && info.firmwareVersion != null && info.hwModel != null)
|
||||
if (info.region != null && info.firmwareVersion != null && info.hwModelDeprecated != null)
|
||||
SoftwareUpdateService.getUpdateFilename(
|
||||
this,
|
||||
info.hwModel
|
||||
info.hwModelDeprecated
|
||||
)
|
||||
else
|
||||
null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue