mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Use first appear on mesh map
This commit is contained in:
parent
a40d194f32
commit
496016c6fa
3 changed files with 16 additions and 5 deletions
|
|
@ -21,6 +21,21 @@
|
|||
},
|
||||
": %d" : {
|
||||
|
||||
},
|
||||
".dot" : {
|
||||
|
||||
},
|
||||
".gauge" : {
|
||||
|
||||
},
|
||||
".gradient" : {
|
||||
|
||||
},
|
||||
".pill" : {
|
||||
|
||||
},
|
||||
".text" : {
|
||||
|
||||
},
|
||||
"(Re)define PIN_GPS_EN for your board." : {
|
||||
|
||||
|
|
@ -19154,9 +19169,6 @@
|
|||
},
|
||||
"Send" : {
|
||||
|
||||
},
|
||||
"Send ${messageContent} to ${channelNumber}" : {
|
||||
|
||||
},
|
||||
"Send a Group Message" : {
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ enum MeshMapDistances: Double, CaseIterable, Identifiable {
|
|||
case fifteenHundredMiles = 2414016
|
||||
case twentyFiveHundredMiles = 4023360
|
||||
case fiveThouandMiles = 8046720
|
||||
case tenThousandMiles = 16093440
|
||||
var id: Double { self.rawValue }
|
||||
var description: String {
|
||||
let distanceFormatter = MKDistanceFormatter()
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ struct MeshMap: View {
|
|||
.navigationBarItems(leading: MeshtasticLogo(), trailing: ZStack {
|
||||
ConnectedDevice(bluetoothOn: bleManager.isSwitchedOn, deviceConnected: bleManager.connectedPeripheral != nil, name: (bleManager.connectedPeripheral != nil) ? bleManager.connectedPeripheral.shortName : "?")
|
||||
})
|
||||
.onAppear {
|
||||
.onFirstAppear {
|
||||
UIApplication.shared.isIdleTimerDisabled = true
|
||||
|
||||
// let wayPointEntity = getWaypoint(id: Int64(deepLinkManager.waypointId) ?? -1, context: context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue