Skip to content

Commit

Permalink
Fixed theme options logic
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Jul 13, 2024
1 parent e968b49 commit 421de81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ private void eval() {

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
Expand Down

0 comments on commit 421de81

Please sign in to comment.