Skip to content

Commit

Permalink
style: clean up dark mode changes
Browse files Browse the repository at this point in the history
  • Loading branch information
parmjotsinghrobot authored and ldelossa committed Jun 15, 2024
1 parent f6f4517 commit 6e28f3f
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@
#include "../../../services/theme_service.h"
#include "quick_settings_grid_button.h"

/* old
static void on_clicked(GtkButton *button, QuickSettingsGridButton *self) {
ThemeService *ts = theme_service_get_global();
enum ThemeServiceTheme theme = theme_service_get_theme(ts);
if (theme == THEME_LIGHT) {
theme_service_set_dark_theme(ts, TRUE);
} else {
theme_service_set_light_theme(ts, TRUE);
}
}*/

static void on_toggle_button_clicked(GtkButton *button, QuickSettingsGridButton *self) {
ThemeService *ts = theme_service_get_global();
enum ThemeServiceTheme theme = theme_service_get_theme(ts);
Expand Down

0 comments on commit 6e28f3f

Please sign in to comment.