diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-02 22:52:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 22:52:58 -0500 |
commit | af905947bc4835cfff6f748851c95ac75cb7fb23 (patch) | |
tree | 2faead9136eb7501003b1269fae1e617ea4bdbd5 | |
parent | 8c675248d45c01db255a63cd98dc58868ec329fa (diff) | |
download | voidsky-af905947bc4835cfff6f748851c95ac75cb7fb23.tar.zst |
Fix confirm profile sizing for blocks (#564)
-rw-r--r-- | src/view/com/modals/Confirm.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/modals/Confirm.tsx b/src/view/com/modals/Confirm.tsx index f0c905d04..c508c2d3a 100644 --- a/src/view/com/modals/Confirm.tsx +++ b/src/view/com/modals/Confirm.tsx @@ -13,7 +13,7 @@ import {cleanError} from 'lib/strings/errors' import {usePalette} from 'lib/hooks/usePalette' import {isDesktopWeb} from 'platform/detection' -export const snapPoints = [300] +export const snapPoints = ['50%'] export function Component({ title, diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index d8c4b9d8f..10f648e3d 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -180,7 +180,7 @@ const ProfileHeaderLoaded = observer( name: 'confirm', title: 'Block Account', message: - 'Blocked accounts cannot reply in your threads, mention you, or otherwise interact with you. You will not see their content and they will be prevented from seeing yours.', + 'Blocked accounts cannot reply in your threads, mention you, or otherwise interact with you.', onPressConfirm: async () => { try { await view.blockAccount() @@ -200,7 +200,7 @@ const ProfileHeaderLoaded = observer( name: 'confirm', title: 'Unblock Account', message: - 'The account will be able to interact with you after unblocking. (You can always block again in the future.)', + 'The account will be able to interact with you after unblocking.', onPressConfirm: async () => { try { await view.unblockAccount() |