1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Refactoring

This commit is contained in:
M66B 2024-07-13 17:43:26 +02:00
parent 22ab0b03eb
commit 64d789961b

View file

@ -85,8 +85,8 @@ public class FragmentDialogTheme extends FragmentDialogBase {
swBlack.setEnabled(colored && !grey && !bw && !solarized && optionId != R.id.rbThemeLight);
swHtmlLight.setEnabled(!(colored || blank) || (colored && optionId != R.id.rbThemeLight));
swComposerLight.setEnabled(!(colored || blank) || (colored && optionId != R.id.rbThemeLight));
swHtmlLight.setEnabled(colored ? optionId != R.id.rbThemeLight : !blank);
swComposerLight.setEnabled(colored ? optionId != R.id.rbThemeLight : !blank);
}
@NonNull