File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
CloudMaster/Features/Exam/Views Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 786786 INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
787787 INFOPLIST_KEY_UILaunchScreen_Generation = YES;
788788 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
789+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
789790 LD_RUNPATH_SEARCH_PATHS = (
790791 "$(inherited)",
791792 "@executable_path/Frameworks",
821822 INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
822823 INFOPLIST_KEY_UILaunchScreen_Generation = YES;
823824 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
825+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
824826 LD_RUNPATH_SEARCH_PATHS = (
825827 "$(inherited)",
826828 "@executable_path/Frameworks",
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ struct ExamSummaryView: View {
1212 // Helper variable to hide backbutton after Exam
1313 let afterExam : Bool
1414
15- @Environment ( \. presentationMode) var presentationMode
15+ @Environment ( \. presentationMode) var presentationMode
1616
1717 var body : some View {
1818 VStack {
@@ -87,10 +87,10 @@ struct ExamSummaryView: View {
8787 . navigationBarTitleDisplayMode ( . inline)
8888 . navigationBarBackButtonHidden ( afterExam) // Hide back button based on the flag
8989 . toolbar {
90- if ( !afterExam ) {
91- ToolbarItem ( placement : . principal ) {
92- HStack {
93- Spacer ( )
90+ ToolbarItem ( placement : . principal ) {
91+ HStack {
92+ Spacer ( )
93+ if !afterExam {
9494 Button ( action: {
9595 showDeleteConfirmation = true
9696 } ) {
You can’t perform that action at this time.
0 commit comments