Skip to content

Commit 5678c93

Browse files
committed
Поправил отступы
И убрал лишнюю настройку для портретного режима на айпадах
1 parent 40616bb commit 5678c93

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

SwiftUI-WorkoutApp.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@
463463
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
464464
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
465465
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
466-
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
467466
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
468467
LD_RUNPATH_SEARCH_PATHS = (
469468
"$(inherited)",
@@ -518,7 +517,6 @@
518517
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
519518
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
520519
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
521-
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
522520
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
523521
LD_RUNPATH_SEARCH_PATHS = (
524522
"$(inherited)",

SwiftUI-WorkoutApp/Screens/Parks/ParksAddedByUserScreen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct ParksAddedByUserScreen: View {
4040
.accessibilityIdentifier("ParkViewCell")
4141
}
4242
}
43-
.padding([.top, .horizontal])
43+
.padding()
4444
}
4545
.onChange(of: parkList) { updatedParks in
4646
if updatedParks.isEmpty { dismiss() }

SwiftUI-WorkoutApp/Screens/Parks/ParksListScreen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private extension ParksListScreen {
130130
.accessibilityIdentifier("ParkViewCell")
131131
}
132132
}
133-
.padding([.top, .horizontal])
133+
.padding()
134134
case let .error(errorKind):
135135
CommonErrorView(errorKind: errorKind)
136136
case .initial, .loading:

0 commit comments

Comments
 (0)