Disable text colors when using black/white theme

This commit is contained in:
M66B
2020-08-14 15:12:19 +02:00
parent 32a19051b2
commit 83d1707989
2 changed files with 5 additions and 1 deletions

View File

@@ -660,6 +660,9 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
}
});
String theme = prefs.getString("theme", "light");
swTextColor.setEnabled(!"black_and_white".equals(theme));
swTextSize.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {