Moved the dark mode to settings bar

This commit is contained in:
MantashaNoyela 2025-03-17 06:42:59 -07:00
parent 28addf53a5
commit 68a91a32ad

View File

@ -89,9 +89,12 @@ const IndexScreen: React.FC = () => {
return ( return (
<PokerAppUi darkMode={lightGrayMode}> <PokerAppUi darkMode={lightGrayMode}>
<ScrollView <ScrollView
style={styles.scrollView} /*style={styles.scrollView}
contentContainerStyle={styles.scrollViewContent} contentContainerStyle={styles.scrollViewContent}*/
style={{ flex: 1 }}
contentContainerStyle={{ paddingHorizontal: 15, paddingBottom: 30 }}
> >
{isSettingsVisible && (
<Section <Section
title={i18n.t("appearance")} title={i18n.t("appearance")}
iconName={"brightness-4"} iconName={"brightness-4"}
@ -107,6 +110,7 @@ const IndexScreen: React.FC = () => {
darkMode={lightGrayMode} darkMode={lightGrayMode}
/> />
</Section> </Section>
)}
{isSettingsVisible && ( {isSettingsVisible && (
<Section <Section