]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java
Change the night access color to light violet. https://redmine.stoutner.com/issues/572
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / fragments / SettingsFragment.java
index 0c8d39b9be48ccfcd7e230eaa86750bf71fafca7..75f9b31d903b0f0058dbd539f91d0d4796150bb4 100644 (file)
@@ -814,15 +814,15 @@ public class SettingsFragment extends PreferenceFragmentCompat {
         // Set the open intents in new tab preference icon.
         if (savedPreferences.getBoolean("open_intents_in_new_tab", true)) {
             if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) {
-                openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_dark);
+                openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_night);
             } else {
-                openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_light);
+                openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_day);
             }
         } else {
             if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) {
-                openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_dark);
+                openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_night);
             } else {
-                openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_light);
+                openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_day);
             }
         }
 
@@ -1723,15 +1723,15 @@ public class SettingsFragment extends PreferenceFragmentCompat {
                     // Update the icon.
                     if (sharedPreferences.getBoolean("open_intents_in_new_tab", true)) {
                         if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) {
-                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_dark);
+                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_night);
                         } else {
-                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_light);
+                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_enabled_day);
                         }
                     } else {
                         if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) {
-                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_dark);
+                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_night);
                         } else {
-                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_light);
+                            openIntentsInNewTabPreference.setIcon(R.drawable.tab_disabled_day);
                         }
                     }
                     break;