From af905947bc4835cfff6f748851c95ac75cb7fb23 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 2 May 2023 22:52:58 -0500 Subject: [PATCH] Fix confirm profile sizing for blocks (#564) --- src/view/com/modals/Confirm.tsx | 2 +- 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 f0c905d0..c508c2d3 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 d8c4b9d8..10f648e3 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()