Skip to content

Commit

Permalink
Use first appear on mesh map
Browse files Browse the repository at this point in the history
  • Loading branch information
garthvh committed Sep 20, 2024
1 parent a40d194 commit 496016c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
18 changes: 15 additions & 3 deletions Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@
},
": %d" : {

},
".dot" : {

},
".gauge" : {

},
".gradient" : {

},
".pill" : {

},
".text" : {

},
"(Re)define PIN_GPS_EN for your board." : {

Expand Down Expand Up @@ -19154,9 +19169,6 @@
},
"Send" : {

},
"Send ${messageContent} to ${channelNumber}" : {

},
"Send a Group Message" : {

Expand Down
1 change: 0 additions & 1 deletion Meshtastic/Enums/AppSettingsEnums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Meshtastic/Views/Nodes/MeshMap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 496016c

Please sign in to comment.