diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 7ba83a2..55a686b 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -4,6 +4,7 @@ diff --git a/app/App.tsx b/app/App.tsx index a8d5695..320c4c6 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -7,7 +7,7 @@ import React, { useRef } from 'react'; import { StatusBar } from 'react-native'; -import { SafeAreaProvider } from 'react-native-safe-area-context'; +import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context'; import { NavigationContainer, NavigationContainerRef } from '@react-navigation/native'; import { theme } from './theme/theme'; import { RootStackNavigator, setNavigationRef } from './navigation'; @@ -184,6 +184,7 @@ function AppContent() { return ( + + ); } diff --git a/app/modules/AIPrediction/screens/AIPredictionDetailScreen.tsx b/app/modules/AIPrediction/screens/AIPredictionDetailScreen.tsx index 633d785..f3e6f9d 100644 --- a/app/modules/AIPrediction/screens/AIPredictionDetailScreen.tsx +++ b/app/modules/AIPrediction/screens/AIPredictionDetailScreen.tsx @@ -16,7 +16,6 @@ import { TouchableWithoutFeedback, Alert, SafeAreaView, - StatusBar, KeyboardAvoidingView, Platform, Dimensions, @@ -541,7 +540,6 @@ const AIPredictionDetailScreen: React.FC = ({ return ( - diff --git a/app/modules/AIPrediction/screens/AIPredictionsScreen.tsx b/app/modules/AIPrediction/screens/AIPredictionsScreen.tsx index acff58c..462bdb2 100644 --- a/app/modules/AIPrediction/screens/AIPredictionsScreen.tsx +++ b/app/modules/AIPrediction/screens/AIPredictionsScreen.tsx @@ -552,7 +552,6 @@ const AIPredictionsScreen: React.FC = ({ navigation }) return ( - {/* Header */} diff --git a/app/modules/Auth/redux/authActions.ts b/app/modules/Auth/redux/authActions.ts index 5a5890c..46684a6 100644 --- a/app/modules/Auth/redux/authActions.ts +++ b/app/modules/Auth/redux/authActions.ts @@ -18,7 +18,7 @@ export const login = createAsyncThunk( async (credentials: { email: string; password: string }, { rejectWithValue }) => { try { const response:any = await authAPI.login(credentials.email, credentials.password,'web'); - + console.log('response',response) if(response.data.message && !response.data.success){ showError(response.data.message) return rejectWithValue(response.data.message); diff --git a/app/modules/Auth/screens/SignUpScreen.tsx b/app/modules/Auth/screens/SignUpScreen.tsx index 12e6416..41acb28 100644 --- a/app/modules/Auth/screens/SignUpScreen.tsx +++ b/app/modules/Auth/screens/SignUpScreen.tsx @@ -8,8 +8,7 @@ import React, { useEffect, useState } from 'react'; import { View, - StyleSheet, - StatusBar, + StyleSheet, Alert, Text, TouchableOpacity, @@ -409,10 +408,6 @@ const SignUpScreen: React.FC = ({ navigation }) => { style={styles.container} behavior={Platform.OS === 'ios' ? 'padding' : 'height'} > - {/* Conditional Content Rendering */} {currentStep === 'hospital' ? ( diff --git a/app/modules/PatientCare/screens/FeedbackDetailScreen.tsx b/app/modules/PatientCare/screens/FeedbackDetailScreen.tsx index de1453d..2c07aff 100644 --- a/app/modules/PatientCare/screens/FeedbackDetailScreen.tsx +++ b/app/modules/PatientCare/screens/FeedbackDetailScreen.tsx @@ -18,7 +18,6 @@ import { StyleSheet, ScrollView, TouchableOpacity, - StatusBar, Alert, TextInput, RefreshControl, @@ -366,7 +365,6 @@ const FeedbackDetailScreen: React.FC = ({ navigation, return ( - {/* Fixed Series Header */} {renderSeriesHeader()} diff --git a/app/modules/PatientCare/screens/PatientDetailsScreen.tsx b/app/modules/PatientCare/screens/PatientDetailsScreen.tsx index 9476a1f..c934084 100644 --- a/app/modules/PatientCare/screens/PatientDetailsScreen.tsx +++ b/app/modules/PatientCare/screens/PatientDetailsScreen.tsx @@ -20,7 +20,6 @@ import { StyleSheet, ScrollView, TouchableOpacity, - StatusBar, Alert, Dimensions, Image, @@ -1221,7 +1220,6 @@ const PatientDetailsScreen: React.FC = ({ navigation, if (isLoading) { return ( - {renderLoadingState()} ); @@ -1230,7 +1228,6 @@ const PatientDetailsScreen: React.FC = ({ navigation, if (error) { return ( - {renderErrorState()} ); @@ -1239,7 +1236,6 @@ const PatientDetailsScreen: React.FC = ({ navigation, if (!patientData) { return ( - Patient Not Found @@ -1251,7 +1247,6 @@ const PatientDetailsScreen: React.FC = ({ navigation, return ( - {/* Header */} diff --git a/app/modules/PatientCare/screens/PatientsScreen.tsx b/app/modules/PatientCare/screens/PatientsScreen.tsx index 55e3ade..7c822ed 100644 --- a/app/modules/PatientCare/screens/PatientsScreen.tsx +++ b/app/modules/PatientCare/screens/PatientsScreen.tsx @@ -13,7 +13,6 @@ import { FlatList, RefreshControl, SafeAreaView, - StatusBar, StyleSheet, Alert, } from 'react-native'; @@ -262,7 +261,6 @@ const PatientsScreen: React.FC = () => { if (error && !isLoading) { return ( - Error Loading Patients {error} @@ -280,7 +278,6 @@ const PatientsScreen: React.FC = () => { return ( - {/* Header */} {renderHeader()} diff --git a/app/modules/PatientCare/screens/SeriesDetailScreen.tsx b/app/modules/PatientCare/screens/SeriesDetailScreen.tsx index 5f3af3b..44be869 100644 --- a/app/modules/PatientCare/screens/SeriesDetailScreen.tsx +++ b/app/modules/PatientCare/screens/SeriesDetailScreen.tsx @@ -21,7 +21,6 @@ import { StyleSheet, ScrollView, TouchableOpacity, - StatusBar, Alert, Dimensions, Image, @@ -1535,7 +1534,6 @@ const SeriesDetailScreen: React.FC = ({ navigation, rou return ( - {/* Header */} diff --git a/app/shared/components/ComingSoonScreen.tsx b/app/shared/components/ComingSoonScreen.tsx index d3514d1..9f1854f 100644 --- a/app/shared/components/ComingSoonScreen.tsx +++ b/app/shared/components/ComingSoonScreen.tsx @@ -13,7 +13,6 @@ import { ScrollView, TouchableOpacity, SafeAreaView, - StatusBar, Image, } from 'react-native'; import { theme } from '../../theme/theme'; @@ -105,11 +104,6 @@ export const ComingSoonScreen: React.FC = ({ styles.container, backgroundColor && { backgroundColor } ]}> -