From 5962abb38221382203165c1ff391de8b0ba57682 Mon Sep 17 00:00:00 2001 From: addison Date: Fri, 28 Jan 2022 09:24:04 -0500 Subject: [PATCH] [chore] Update jslib --- jslib | 2 +- src/popup/settings/options.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 6b4ed5fcce..e372bf242b 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 6b4ed5fcce58c21a9977d94ebb65f954d6766548 +Subproject commit e372bf242b24f55c1142e33693ad2c801ab74c93 diff --git a/src/popup/settings/options.component.ts b/src/popup/settings/options.component.ts index ca7757e3e9..f1cc7564e1 100644 --- a/src/popup/settings/options.component.ts +++ b/src/popup/settings/options.component.ts @@ -25,7 +25,7 @@ export class OptionsComponent implements OnInit { dontShowCards = false; dontShowIdentities = false; showClearClipboard = true; - theme: string; + theme: ThemeType; themeOptions: any[]; defaultUriMatch = UriMatchType.Domain; uriMatchOptions: any[]; @@ -42,7 +42,7 @@ export class OptionsComponent implements OnInit { i18nService: I18nService ) { this.themeOptions = [ - { name: i18nService.t("default"), value: null }, + { name: i18nService.t("default"), value: ThemeType.System }, { name: i18nService.t("light"), value: ThemeType.Light }, { name: i18nService.t("dark"), value: ThemeType.Dark }, { name: "Nord", value: ThemeType.Nord },