From fd9d6327b455eb47993ca9113da543c66e94c843 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Fri, 3 Mar 2023 14:02:40 -0600
Subject: Edit profile fixes (#258)

* Fix: only clear banner or avi when requested in edit profile

* Set the default snap points to 90% to ensure the modal never fails to raise
---
 src/view/com/modals/Modal.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/view/com/modals/Modal.tsx')

diff --git a/src/view/com/modals/Modal.tsx b/src/view/com/modals/Modal.tsx
index f939442ba..1346f12f3 100644
--- a/src/view/com/modals/Modal.tsx
+++ b/src/view/com/modals/Modal.tsx
@@ -15,7 +15,7 @@ import * as DeleteAccountModal from './DeleteAccount'
 import {usePalette} from 'lib/hooks/usePalette'
 import {StyleSheet} from 'react-native'
 
-const CLOSED_SNAPPOINTS = ['10%']
+const DEFAULT_SNAPPOINTS = ['90%']
 
 export const ModalsContainer = observer(function ModalsContainer() {
   const store = useStores()
@@ -42,7 +42,7 @@ export const ModalsContainer = observer(function ModalsContainer() {
     }
   }, [store.shell.isModalActive, bottomSheetRef, activeModal?.name])
 
-  let snapPoints: (string | number)[] = CLOSED_SNAPPOINTS
+  let snapPoints: (string | number)[] = DEFAULT_SNAPPOINTS
   let element
   if (activeModal?.name === 'confirm') {
     snapPoints = ConfirmModal.snapPoints
-- 
cgit 1.4.1

