]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.java
Migrate five dialogs to Kotlin. https://redmine.stoutner.com/issues/604
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / fragments / DomainSettingsFragment.java
index 35d626935039f0c5a151df734ba148bf83d53c58..5e3a433643526c8b5d707b70b4fa9f7e37537d13 100644 (file)
@@ -307,7 +307,7 @@ public class DomainSettingsFragment extends Fragment {
         final ForegroundColorSpan redColorSpan;
         final ForegroundColorSpan blueColorSpan;
 
-        // Set the color spans according to the theme.  The deprecated `resources` must be used until the minimum API >= 23.
+        // Set the color spans according to the theme.  The deprecated `getColor()` must be used until the minimum API >= 23.
         if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) {
             redColorSpan = new ForegroundColorSpan(resources.getColor(R.color.red_900));
             blueColorSpan = new ForegroundColorSpan(resources.getColor(R.color.violet_500));