Skip to content

Commit

Permalink
Merge pull request #11 from CyberT17/bugfix/ribbon-icon-not-working-w…
Browse files Browse the repository at this point in the history
…hen-using-same-theme-for-day-and-night

Fixed a bug where the ribbon icon wasn't working when using the same …
  • Loading branch information
CyberT17 committed Oct 17, 2023
2 parents d227ab0 + 658ffa4 commit d62a891
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.ts
Expand Up @@ -44,7 +44,6 @@ export default class DayAndNight extends Plugin {
if (!this.settings.pauseThemeToggle && (this.getCurrentTheme() != themeToApply || this.getCurrentColorScheme() != colorSchemeToApply)) {
this.setTheme(themeToApply, colorSchemeToApply);
} else if (this.getCurrentTheme() == themeToApply || this.getCurrentColorScheme() == colorSchemeToApply) {
this.settings.pauseThemeToggle = false;
this.saveSettings();
}
}
Expand Down

0 comments on commit d62a891

Please sign in to comment.