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

Fixed theme options logic

This commit is contained in:
M66B 2024-07-13 14:07:39 +02:00
parent e968b49cba
commit 421de816c4

View file

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