This commit is contained in:
Garth Vander Houwen 2021-10-01 08:41:06 -07:00
parent 22bbd04db5
commit 81fcf7881a
3 changed files with 10 additions and 10 deletions

View file

@ -641,7 +641,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.17;
MARKETING_VERSION = 1.18;
PRODUCT_BUNDLE_IDENTIFIER = gvh.MeshtasticClient;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = NO;
@ -668,7 +668,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.17;
MARKETING_VERSION = 1.18;
PRODUCT_BUNDLE_IDENTIFIER = gvh.MeshtasticClient;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = NO;

View file

@ -401,7 +401,7 @@ class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate, CBPeriph
}
}
if decodedInfo.nodeInfo.num != 0
if decodedInfo.nodeInfo.num != 0 && decodedInfo.nodeInfo.user.longName.lengthOfBytes(using: .utf8) > 0
{
print("Save a nodeInfo")
do {

View file

@ -5,7 +5,7 @@ Abstract: Default App View
import SwiftUI
struct ContentView: View {
@State private var selection: Tab = .messages
@State private var selection: Tab = .nodes
enum Tab {
case messages
@ -17,12 +17,12 @@ struct ContentView: View {
var body: some View {
TabView(selection: $selection) {
Channels()
.tabItem {
Label("Messages", systemImage: "text.bubble")
.symbolRenderingMode(.hierarchical)
}
.tag(Tab.messages)
//Channels()
// .tabItem {
// Label("Messages", systemImage: "text.bubble")
// .symbolRenderingMode(.hierarchical)
// }
// .tag(Tab.messages)
NodeList()
.tabItem {
Label("Nodes", systemImage: "flipphone")