]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt
Update the proxy app bar background color. https://redmine.stoutner.com/issues/998
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / activities / MainWebViewActivity.kt
index 2d0fc04aa28d5e99130212cbafbfb1948f9eb647..e13e8567c5c7475805f66e9eec3260b2c8b38abf 100644 (file)
@@ -3269,7 +3269,7 @@ class MainWebViewActivity : AppCompatActivity(), CreateBookmarkDialog.CreateBook
 
             ProxyHelper.TOR -> {
                 // Set the app bar background to indicate proxying is enabled.
-                appBarLayout.setBackgroundResource(R.color.proxy_appbar_background)
+                appBarLayout.setBackgroundResource(R.color.blue_background)
 
                 // Check to see if Orbot is installed.
                 try {
@@ -3320,7 +3320,7 @@ class MainWebViewActivity : AppCompatActivity(), CreateBookmarkDialog.CreateBook
 
             ProxyHelper.I2P -> {
                 // Set the app bar background to indicate proxying is enabled.
-                appBarLayout.setBackgroundResource(R.color.proxy_appbar_background)
+                appBarLayout.setBackgroundResource(R.color.blue_background)
 
                 // Check to see if I2P is installed.
                 try {
@@ -3355,7 +3355,7 @@ class MainWebViewActivity : AppCompatActivity(), CreateBookmarkDialog.CreateBook
 
             ProxyHelper.CUSTOM ->
                 // Set the app bar background to indicate proxying is enabled.
-                appBarLayout.setBackgroundResource(R.color.proxy_appbar_background)
+                appBarLayout.setBackgroundResource(R.color.blue_background)
         }
 
         // Reload the WebViews if requested and not waiting for the proxy.