Refactor PrayerTimeCard component to improve remaining time calculation and enhance background color in HomeScreen for better visibility. Added View import in _layout.tsx for layout adjustments.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import FontAwesome from '@expo/vector-icons/FontAwesome';
|
||||
import { Tabs } from 'expo-router';
|
||||
import { useColorScheme } from 'react-native';
|
||||
import { useColorScheme, View } from 'react-native';
|
||||
|
||||
import Colors from '@/constants/Colors';
|
||||
import i18n from '@/i18n';
|
||||
|
||||
@@ -79,6 +79,7 @@ export default function HomeScreen() {
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: Colors.dark.background,
|
||||
},
|
||||
innerContainer: {
|
||||
paddingHorizontal: 15,
|
||||
|
||||
Reference in New Issue
Block a user