Fix confirm profile sizing for blocks (#564)

zio/stable
Paul Frazee 2023-05-02 22:52:58 -05:00 committed by GitHub
parent 8c675248d4
commit af905947bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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()