Refactoring

pull/215/head
M66B 4 months ago
parent 22ab0b03eb
commit 64d789961b

@ -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…
Cancel
Save