diff --git a/Meshtastic Apple.xcodeproj/project.pbxproj b/Meshtastic Apple.xcodeproj/project.pbxproj index b80f1fc6..2d2a36f9 100644 --- a/Meshtastic Apple.xcodeproj/project.pbxproj +++ b/Meshtastic Apple.xcodeproj/project.pbxproj @@ -809,7 +809,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.3.18; + MARKETING_VERSION = 1.3.19; PRODUCT_BUNDLE_IDENTIFIER = gvh.MeshtasticClient; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = YES; @@ -840,7 +840,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.3.18; + MARKETING_VERSION = 1.3.19; PRODUCT_BUNDLE_IDENTIFIER = gvh.MeshtasticClient; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = YES; diff --git a/MeshtasticApple/Helpers/BLEManager.swift b/MeshtasticApple/Helpers/BLEManager.swift index 61a455a5..1d897de1 100644 --- a/MeshtasticApple/Helpers/BLEManager.swift +++ b/MeshtasticApple/Helpers/BLEManager.swift @@ -580,7 +580,6 @@ class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate, CBPeriph let newMessage = MessageEntity(context: context!) newMessage.messageId = Int64(UInt32.random(in: UInt32(UInt8.max).. MKOverlayRenderer { diff --git a/MeshtasticApple/Views/Nodes/NodeDetail.swift b/MeshtasticApple/Views/Nodes/NodeDetail.swift index aa69dd53..5d7a3699 100644 --- a/MeshtasticApple/Views/Nodes/NodeDetail.swift +++ b/MeshtasticApple/Views/Nodes/NodeDetail.swift @@ -112,7 +112,11 @@ struct NodeDetail: View { isPresented: $isPresentingShutdownConfirm ) { Button("Shutdown Node?", role: .destructive) { - let success = bleManager.sendShutdown(destNum: node.num, wantResponse: false) + + if !bleManager.sendShutdown(destNum: node.num, wantResponse: false) { + + print("Shutdown Failed") + } } } } @@ -139,7 +143,11 @@ struct NodeDetail: View { isPresented: $isPresentingRebootConfirm ) { Button("Reboot Node?", role: .destructive) { - let success = bleManager.sendReboot(destNum: node.num, wantResponse: false) + + if !bleManager.sendReboot(destNum: node.num, wantResponse: false) { + + print("Reboot Failed") + } } } }