Skip to content

Commit 5c027be

Browse files
committed
Поправил верстку на iOS 15
1 parent ce726c0 commit 5c027be

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

SwiftUI-WorkoutApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@
12101210
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
12111211
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
12121212
CODE_SIGN_STYLE = Automatic;
1213-
CURRENT_PROJECT_VERSION = 5;
1213+
CURRENT_PROJECT_VERSION = 6;
12141214
DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
12151215
DEVELOPMENT_TEAM = CR68PP2Z3F;
12161216
ENABLE_PREVIEWS = YES;
@@ -1246,7 +1246,7 @@
12461246
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
12471247
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
12481248
CODE_SIGN_STYLE = Automatic;
1249-
CURRENT_PROJECT_VERSION = 5;
1249+
CURRENT_PROJECT_VERSION = 6;
12501250
DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
12511251
DEVELOPMENT_TEAM = CR68PP2Z3F;
12521252
ENABLE_PREVIEWS = YES;

SwiftUI-WorkoutApp/Screens/Profile/Detail/UserDetailsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct UserDetailsView: View {
2828
}
2929

3030
var body: some View {
31-
Form {
31+
List {
3232
userInfoSection
3333
if !isMainUser {
3434
communicationSection

SwiftUI-WorkoutApp/Screens/Profile/Detail/UserDetailsViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ final class UserDetailsViewModel: ObservableObject {
5252
}
5353

5454
func checkBlacklist(with defaults: DefaultsProtocol) async {
55-
try? await APIService(with: defaults).getBlacklist()
55+
_ = try? await APIService(with: defaults).getBlacklist()
5656
}
5757

5858
func blacklistUser(with defaults: DefaultsProtocol) async {

SwiftUI-WorkoutApp/Screens/Profile/Settings/AccountInfo/AccountInfoView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private extension AccountInfoView {
170170

171171
var birthdayPicker: some View {
172172
HStack {
173-
Image(systemName: "birthday.cake")
173+
Image(systemName: "calendar")
174174
.foregroundColor(.secondary)
175175
Spacer()
176176
DatePicker(

SwiftUI-WorkoutApp/Screens/Profile/Settings/ProfileSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private extension ProfileSettingsView {
100100
Button {
101101
showLogoutDialog.toggle()
102102
} label: {
103-
Label("Выйти", systemImage: "door.left.hand.open")
103+
Label("Выйти", systemImage: "arrow.down.backward.circle.fill")
104104
.foregroundColor(.pink)
105105
}
106106
.confirmationDialog(

0 commit comments

Comments
 (0)