diff --git a/InfiniLink.xcodeproj/project.pbxproj b/InfiniLink.xcodeproj/project.pbxproj index 46e6e42..3742eef 100644 --- a/InfiniLink.xcodeproj/project.pbxproj +++ b/InfiniLink.xcodeproj/project.pbxproj @@ -807,10 +807,10 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 0.9.2; - PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS"; + PRODUCT_BUNDLE_IDENTIFIER = com.alexemry.InfiniLink; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -831,10 +831,10 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 0.9.2; - PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS"; + PRODUCT_BUNDLE_IDENTIFIER = com.alexemry.InfiniLink; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; diff --git a/InfiniLink/View Components/Home View/HomeScreen.swift b/InfiniLink/View Components/Home View/HomeScreen.swift index e4980b2..e394815 100644 --- a/InfiniLink/View Components/Home View/HomeScreen.swift +++ b/InfiniLink/View Components/Home View/HomeScreen.swift @@ -41,6 +41,7 @@ struct HomeScreen: View { if renamingDevice { TextField(deviceName, text: $changedName, onCommit: { nameManager.updateName(deviceUUID: bleManager.infiniTime.identifier.uuidString, name: changedName) + renamingDevice = false }) .onAppear() { deviceName = String(DeviceNameManager().getName(deviceUUID: bleManager.infiniTime.identifier.uuidString).isEmpty ? "InfiniTime" : DeviceNameManager().getName(deviceUUID: bleManager.infiniTime.identifier.uuidString))