From 3251f3e65d43ecf8aad5457b905501578a84b51c Mon Sep 17 00:00:00 2001 From: Lucas K Date: Fri, 30 Oct 2020 13:49:13 -0500 Subject: [PATCH] fixed addtemplate button --- Trips.xcodeproj/project.pbxproj | 8 ++++---- Trips/views/TripDetail.swift | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Trips.xcodeproj/project.pbxproj b/Trips.xcodeproj/project.pbxproj index e0c4a7b..bf353e3 100644 --- a/Trips.xcodeproj/project.pbxproj +++ b/Trips.xcodeproj/project.pbxproj @@ -506,7 +506,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Trips/Trips.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Trips/Preview Content\""; DEVELOPMENT_TEAM = 27888865CT; @@ -517,7 +517,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2020.4; + MARKETING_VERSION = 2020.5; PRODUCT_BUNDLE_IDENTIFIER = org.kellar.trips; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; @@ -532,7 +532,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Trips/Trips.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Trips/Preview Content\""; DEVELOPMENT_TEAM = 27888865CT; @@ -543,7 +543,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2020.4; + MARKETING_VERSION = 2020.5; PRODUCT_BUNDLE_IDENTIFIER = org.kellar.trips; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; diff --git a/Trips/views/TripDetail.swift b/Trips/views/TripDetail.swift index 0cf5588..df1091c 100644 --- a/Trips/views/TripDetail.swift +++ b/Trips/views/TripDetail.swift @@ -284,7 +284,7 @@ struct TripDetail: View { secondaryViewSelectionType: selection.secondaryViewSelectionType == .addTemplate ? nil : .addTemplate, secondaryViewSelection: nil) if (showModals) { - modalDisplayed = true + templateModalDisplayed = true } } .onDisappear(perform: {