File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
SwiftUI-WorkoutApp.xcodeproj
SwiftUI-WorkoutApp/Screens/Events Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 879879 CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES;
880880 CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES;
881881 CODE_SIGN_STYLE = Automatic;
882- CURRENT_PROJECT_VERSION = 3 ;
882+ CURRENT_PROJECT_VERSION = 4 ;
883883 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
884884 DEVELOPMENT_TEAM = CR68PP2Z3F;
885885 ENABLE_PREVIEWS = YES;
932932 CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES;
933933 CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES;
934934 CODE_SIGN_STYLE = Automatic;
935- CURRENT_PROJECT_VERSION = 3 ;
935+ CURRENT_PROJECT_VERSION = 4 ;
936936 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
937937 DEVELOPMENT_TEAM = CR68PP2Z3F;
938938 ENABLE_PREVIEWS = YES;
Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ private extension EventDetailsScreen {
163163 address: event. fullAddress ?? shortAddress,
164164 appleMapsURL: event. park. appleMapsURL
165165 )
166- addToCalendarButton
166+ if event. isCurrent == true {
167+ addToCalendarButton
168+ }
167169 }
168170 . insideCardBackground ( )
169171 }
You can’t perform that action at this time.
0 commit comments