Explorar o código

Updated SettingsPage

Savio Fernando hai 1 ano
pai
achega
83a1425c28
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      src/screens/Settings/SettingsPage.js

+ 1 - 6
src/screens/Settings/SettingsPage.js

@@ -48,12 +48,6 @@ const SettingsPage = props => {
             id: 6,
             title: 'Switch Theme',
             icon: 'theme-light-dark',
-            // navigation: () =>  {
-            //     if (currentTheme === 'dark')
-            //       theme.dispatch({ type: "LIGHTMODE" });
-            //     else
-            //       theme.dispatch({ type: "DARKMODE" });
-            //   },
             navigation: () => {
                 if (currentTheme === 'dark')
                   theme.dispatch({ type: "LIGHTMODE" });
@@ -83,6 +77,7 @@ const SettingsPage = props => {
                 title="Settings"
                 backButtonShown={true}
                 onBackClick={() => navigation.goBack()}
+                headerStyle={{elevation: 2}}
             />
             <View>
                 <ScrollView>