Savio Fernando преди 1 година
родител
ревизия
83a1425c28
променени са 1 файла, в които са добавени 1 реда и са изтрити 6 реда
  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>