From a6be3718bf3a9c4558ee87afb9b0a5d3b134f977 Mon Sep 17 00:00:00 2001 From: Diogo Date: Tue, 27 Aug 2024 09:37:36 +0100 Subject: [PATCH] button clickable areas --- apps/ios/Shared/Views/ChatList/UserPicker.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/ios/Shared/Views/ChatList/UserPicker.swift b/apps/ios/Shared/Views/ChatList/UserPicker.swift index 6b3a8aafb4..e275555d09 100644 --- a/apps/ios/Shared/Views/ChatList/UserPicker.swift +++ b/apps/ios/Shared/Views/ChatList/UserPicker.swift @@ -55,11 +55,14 @@ struct UserPicker: View { activeSheet = .chatProfiles } } + .padding(.horizontal, 16) .scaleEffect(x: 1, y: oneHandUI ? -1 : 1, anchor: .center) + Text(currentUser.displayName) .fontWeight(.bold) .font(.title2) .padding(.vertical, verticalSpaceDefault) + .padding(.horizontal, 16) .scaleEffect(x: 1, y: oneHandUI ? -1 : 1, anchor: .center) } menuButton("Your SimpleX address", icon: "qrcode") { @@ -103,7 +106,6 @@ struct UserPicker: View { userPickerVisible.toggle() } } - .padding(16) } .scaleEffect(x: 1, y: oneHandUI ? -1 : 1, anchor: .center) .background( @@ -203,6 +205,7 @@ struct UserPicker: View { } .frame(height: 20) .padding(.vertical, verticalSpaceDefault) + .padding(.horizontal, 16) } .scaleEffect(x: 1, y: oneHandUI ? -1 : 1, anchor: .center) .buttonStyle(PressedButtonStyle(defaultColor: theme.colors.surface, pressedColor: Color(uiColor: .secondarySystemFill)))