feat: better theming, UI fixes, bug fixes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Stack } from 'expo-router';
|
||||
import { useColorScheme } from '../../../hooks/use-color-scheme';
|
||||
|
||||
export default function Layout() {
|
||||
const isDark = useColorScheme() === 'dark';
|
||||
const titleColor = isDark ? '#fff' : '#000';
|
||||
|
||||
return (
|
||||
<Stack
|
||||
screenOptions={{
|
||||
title: 'Settings',
|
||||
headerLargeTitle: true,
|
||||
headerTintColor: titleColor,
|
||||
headerLargeTitleStyle: { color: titleColor },
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user