From 2749b8e3713f853aed9f3449dd76d6bd50e81cc9 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Thu, 4 May 2023 00:55:57 -0500
Subject: Rework alt image modal to be fullscreen due to android bugs with the
 bottomsheet and keyboard (#577)

---
 src/view/com/modals/AltImage.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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

diff --git a/src/view/com/modals/AltImage.tsx b/src/view/com/modals/AltImage.tsx
index ce0a675a9..0359359cc 100644
--- a/src/view/com/modals/AltImage.tsx
+++ b/src/view/com/modals/AltImage.tsx
@@ -1,19 +1,17 @@
 import React, {useCallback, useState} from 'react'
-import {StyleSheet, View} from 'react-native'
+import {StyleSheet, TextInput, TouchableOpacity, View} from 'react-native'
 import {usePalette} from 'lib/hooks/usePalette'
-import {TextInput} from './util'
 import {gradients, s} from 'lib/styles'
 import {enforceLen} from 'lib/strings/helpers'
 import {MAX_ALT_TEXT} from 'lib/constants'
 import {useTheme} from 'lib/ThemeContext'
 import {Text} from '../util/text/Text'
-import {TouchableOpacity} from 'react-native-gesture-handler'
 import LinearGradient from 'react-native-linear-gradient'
 import {useStores} from 'state/index'
 import {isDesktopWeb} from 'platform/detection'
 import {ImageModel} from 'state/models/media/image'
 
-export const snapPoints = ['80%']
+export const snapPoints = ['fullscreen']
 
 interface Props {
   image: ImageModel
-- 
cgit 1.4.1

