From 44a33adc601112a060df5c1eb7a1c30da75d65d8 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Sat, 11 Jun 2022 10:13:59 -0700 Subject: [PATCH] Update build number --- Meshtastic Apple.xcodeproj/project.pbxproj | 4 ++-- MeshtasticApple/Helpers/MeshPackets.swift | 2 +- MeshtasticApple/Views/Settings/ShareChannel.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Meshtastic Apple.xcodeproj/project.pbxproj b/Meshtastic Apple.xcodeproj/project.pbxproj index 46863054..2ae193ca 100644 --- a/Meshtastic Apple.xcodeproj/project.pbxproj +++ b/Meshtastic Apple.xcodeproj/project.pbxproj @@ -781,7 +781,7 @@ CODE_SIGN_ENTITLEMENTS = MeshtasticApple/MeshtasticApple.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"MeshtasticApple/Preview Content\""; DEVELOPMENT_TEAM = GCH7VS5Y9R; ENABLE_PREVIEWS = YES; @@ -812,7 +812,7 @@ CODE_SIGN_ENTITLEMENTS = MeshtasticApple/MeshtasticApple.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_ASSET_PATHS = "\"MeshtasticApple/Preview Content\""; DEVELOPMENT_TEAM = GCH7VS5Y9R; ENABLE_PREVIEWS = YES; diff --git a/MeshtasticApple/Helpers/MeshPackets.swift b/MeshtasticApple/Helpers/MeshPackets.swift index 483629b7..fa16ab40 100644 --- a/MeshtasticApple/Helpers/MeshPackets.swift +++ b/MeshtasticApple/Helpers/MeshPackets.swift @@ -556,7 +556,7 @@ func textMessageAppPacket(packet: MeshPacket, connectedNode: Int64, meshLogging: do { try context.save() - print("💾 Saved a new message for \(packet.id)") + if meshLogging { MeshLogger.log("💾 Saved a new message for \(newMessage.messageId)") } if newMessage.toUser != nil && newMessage.toUser!.num == broadcastNodeNum || connectedNode == newMessage.toUser!.num { diff --git a/MeshtasticApple/Views/Settings/ShareChannel.swift b/MeshtasticApple/Views/Settings/ShareChannel.swift index b66d3fec..4cacb29e 100644 --- a/MeshtasticApple/Views/Settings/ShareChannel.swift +++ b/MeshtasticApple/Views/Settings/ShareChannel.swift @@ -38,7 +38,7 @@ struct ShareChannel: View { let channelSet = ChannelSet() - @State private var text = "https://wwww.meshtastic.org/e/#" + @State private var text = "https://meshtastic.org/e/#" var qrCodeImage = QrCodeImage() var body: some View {