Skip to content

Commit

Permalink
Remove workaround which is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJKM committed Jun 25, 2021
1 parent 2acaff3 commit 2b206c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions MensaGuthaben.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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\"";
Expand All @@ -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;
};
Expand All @@ -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\"";
Expand All @@ -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;
};
Expand Down
5 changes: 2 additions & 3 deletions MensaGuthaben/Views/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
})
}
Expand Down

0 comments on commit 2b206c1

Please sign in to comment.