Skip to content

Commit b2c437f

Browse files
committed
Fixed one last name change issue, and also fixed bug where device name wouldn't clear on disconnect if device had been renamed from the home screen
1 parent 22382de commit b2c437f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

InfiniLink.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -807,10 +807,10 @@
807807
"@executable_path/Frameworks",
808808
);
809809
MARKETING_VERSION = 0.9.2;
810-
PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS";
810+
PRODUCT_BUNDLE_IDENTIFIER = com.alexemry.InfiniLink;
811811
PRODUCT_NAME = "$(TARGET_NAME)";
812812
SWIFT_VERSION = 5.0;
813-
TARGETED_DEVICE_FAMILY = "1,2";
813+
TARGETED_DEVICE_FAMILY = 1;
814814
};
815815
name = Debug;
816816
};
@@ -831,10 +831,10 @@
831831
"@executable_path/Frameworks",
832832
);
833833
MARKETING_VERSION = 0.9.2;
834-
PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS";
834+
PRODUCT_BUNDLE_IDENTIFIER = com.alexemry.InfiniLink;
835835
PRODUCT_NAME = "$(TARGET_NAME)";
836836
SWIFT_VERSION = 5.0;
837-
TARGETED_DEVICE_FAMILY = "1,2";
837+
TARGETED_DEVICE_FAMILY = 1;
838838
};
839839
name = Release;
840840
};

InfiniLink/View Components/Home View/HomeScreen.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct HomeScreen: View {
4141
if renamingDevice {
4242
TextField(deviceName, text: $changedName, onCommit: {
4343
nameManager.updateName(deviceUUID: bleManager.infiniTime.identifier.uuidString, name: changedName)
44+
renamingDevice = false
4445
})
4546
.onAppear() {
4647
deviceName = String(DeviceNameManager().getName(deviceUUID: bleManager.infiniTime.identifier.uuidString).isEmpty ? "InfiniTime" : DeviceNameManager().getName(deviceUUID: bleManager.infiniTime.identifier.uuidString))

0 commit comments

Comments
 (0)