diff --git a/MensaGuthaben.xcodeproj/project.pbxproj b/MensaGuthaben.xcodeproj/project.pbxproj index 8df1301..a271929 100644 --- a/MensaGuthaben.xcodeproj/project.pbxproj +++ b/MensaGuthaben.xcodeproj/project.pbxproj @@ -533,7 +533,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = MensaGuthaben/MensaGuthaben.entitlements; - CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1.2.94; DEVELOPMENT_ASSET_PATHS = "\"MensaGuthaben/Preview Content\""; @@ -552,7 +552,7 @@ MARKETING_VERSION = 1.2.2; PRODUCT_BUNDLE_IDENTIFIER = com.johanneskreutz.mensaguthaben; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "MensaGuthaben 25.06.2021"; + PROVISIONING_PROFILE_SPECIFIER = "MensaGuthaben Development 25.06.2021"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; }; @@ -564,7 +564,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = MensaGuthaben/MensaGuthaben.entitlements; - CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1.2.94; DEVELOPMENT_ASSET_PATHS = "\"MensaGuthaben/Preview Content\""; @@ -583,7 +583,7 @@ MARKETING_VERSION = 1.2.2; PRODUCT_BUNDLE_IDENTIFIER = com.johanneskreutz.mensaguthaben; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "MensaGuthaben 25.06.2021"; + PROVISIONING_PROFILE_SPECIFIER = "MensaGuthaben Development 25.06.2021"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; }; diff --git a/MensaGuthaben/Views/MainView.swift b/MensaGuthaben/Views/MainView.swift index 6a70c6d..e351599 100644 --- a/MensaGuthaben/Views/MainView.swift +++ b/MensaGuthaben/Views/MainView.swift @@ -25,7 +25,6 @@ import SwiftUI struct MainView: View { @State private var showSettingsModal: Bool = false - @State private var buttonText: String = "" @EnvironmentObject var balance: Balance @EnvironmentObject var settings: SettingsStore @EnvironmentObject var historyData: HistoryData @@ -77,8 +76,8 @@ struct MainView: View { self.showSettingsModal = true }) { Image(systemName: "line.horizontal.3") - Text(self.buttonText) - }).sheet(isPresented: $showSettingsModal, onDismiss: {self.showSettingsModal = false; self.buttonText = (self.buttonText == "") ? " " : ""}, content: { + Text("") + }).sheet(isPresented: $showSettingsModal, onDismiss: {self.showSettingsModal = false}, content: { SettingsView(sceneDelegate: self.sceneDelegate).environmentObject(self.settings) }) }