Convert LogcatActivity to Kotlin. https://redmine.stoutner.com/issues/770
[PrivacyBrowser.git] / app / src / main / java / com / stoutner / privacybrowser / activities / MainWebViewActivity.java
index 38fae2ed2702872414432600b6e744418a2c6e9d..498b034edc4897c9bfd9ad2802f31071603df430 100644 (file)
@@ -3434,11 +3434,7 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook
         defaultProgressViewEndOffset = swipeRefreshLayout.getProgressViewEndOffset();
 
         // Set the refresh color scheme according to the theme.
-        if (currentThemeStatus == Configuration.UI_MODE_NIGHT_NO) {
-            swipeRefreshLayout.setColorSchemeResources(R.color.blue_700);
-        } else {
-            swipeRefreshLayout.setColorSchemeResources(R.color.violet_500);
-        }
+        swipeRefreshLayout.setColorSchemeResources(R.color.blue_text);
 
         // Initialize a color background typed value.
         TypedValue colorBackgroundTypedValue = new TypedValue();