Skip to content

Commit

Permalink
small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Feb 29, 2024
1 parent c4b8490 commit 1ff72a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pref-win.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ export type Behavior = "Ask Confirmation" | "Run in Background" | "Quit";

export class PreferencesMenu {
#preferencesWin: Adw_.PreferencesWindow;
#themeItems = ["System Theme", "Light", "Dark"] as const;

#themeItems = ["System Theme", "Light", "Dark"] as Theme[];
#behaviorOnExitItems = [
"Ask Confirmation",
"Run in Background",
"Quit",
] as const;
] as Behavior[];

constructor(mainWindow: MainWindow) {
const builder = Gtk.Builder();
Expand Down

0 comments on commit 1ff72a0

Please sign in to comment.