diff --git a/app.config.ts b/app.config.ts index 0cbfbc0c6..a8535d421 100644 --- a/app.config.ts +++ b/app.config.ts @@ -52,7 +52,7 @@ export default ({ config }: ConfigContext): ExpoConfig => owner: 'eten-genesis', name: getAppName(appVariant), slug: 'langquest', - version: '2.0.1', + version: '2.0.3', orientation: 'portrait', icon: iconLight, scheme: getScheme(appVariant), diff --git a/app/_layout.tsx b/app/_layout.tsx index 7a8227980..e70c38d81 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -34,6 +34,7 @@ import { DarkTheme, DefaultTheme } from '@react-navigation/native'; import { StatusBar } from 'expo-status-bar'; import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; +import { KeyboardProvider } from 'react-native-keyboard-controller'; import { configureReanimatedLogger, ReanimatedLogLevel @@ -136,15 +137,17 @@ export default function RootLayout() { - - {/* OTA Update Banner - shown before login and after */} - - - - - - - + + + {/* OTA Update Banner - shown before login and after */} + + + + + + + + diff --git a/components/AuthModal.tsx b/components/AuthModal.tsx index afe444db9..941ce7be1 100644 --- a/components/AuthModal.tsx +++ b/components/AuthModal.tsx @@ -3,13 +3,7 @@ import { AuthNavigator } from '@/navigators/AuthNavigator'; import { useThemeColor } from '@/utils/styleUtils'; import { XIcon } from 'lucide-react-native'; import React from 'react'; -import { - KeyboardAvoidingView, - Modal, - Platform, - Pressable, - View -} from 'react-native'; +import { Modal, Pressable, View } from 'react-native'; import { Icon } from './ui/icon'; interface AuthModalProps { @@ -32,24 +26,19 @@ export function AuthModal({ presentationStyle="pageSheet" onRequestClose={onClose} > - - - {/* Close button */} - - - - - - + + {/* Close button */} + + + + - + + ); } diff --git a/components/NewReportModal.tsx b/components/NewReportModal.tsx index e213e6b11..2b23fcc05 100644 --- a/components/NewReportModal.tsx +++ b/components/NewReportModal.tsx @@ -14,13 +14,15 @@ import { XIcon } from 'lucide-react-native'; import React, { useMemo, useState } from 'react'; import { Alert, - KeyboardAvoidingView, Modal, Pressable, - ScrollView, TouchableWithoutFeedback, View } from 'react-native'; +import { + KeyboardAwareScrollView, + KeyboardToolbar +} from 'react-native-keyboard-controller'; interface ReportModalProps { isVisible: boolean; @@ -171,117 +173,119 @@ export const ReportModal: React.FC = ({ > - - e.stopPropagation()}> - - - {modalTitle} - - - - + e.stopPropagation()}> + + + {modalTitle} + + + + - - - - - {t('selectReasonLabel')} - - - handleReasonSelect( - value as (typeof reasonOptions)[number] - ) - } - > - {reportReasons.map((option) => ( - - ))} - - + + + + + {t('selectReasonLabel')} + + + handleReasonSelect( + value as (typeof reasonOptions)[number] + ) + } + > + {reportReasons.map((option) => ( + + ))} + + - - - {t('additionalDetails')} - -