mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Refactoring
This commit is contained in:
parent
22ab0b03eb
commit
64d789961b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue