aboutsummaryrefslogtreecommitdiffstats
path: root/packages/main/src/stores/GlobalSettings.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-02-16 01:09:27 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-02-24 00:53:06 +0100
commit39231032ef9abfc3a90af7bf0460037aa220ce11 (patch)
tree0159913431d04689c5a988eb4d69e001486d9bac /packages/main/src/stores/GlobalSettings.ts
parentchore(deps): Bump dependencies (diff)
downloadsophie-39231032ef9abfc3a90af7bf0460037aa220ce11.tar.gz
sophie-39231032ef9abfc3a90af7bf0460037aa220ce11.tar.zst
sophie-39231032ef9abfc3a90af7bf0460037aa220ce11.zip
feat: Basic location bar
Still needs adding event handlers to actually navigate the browser. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/src/stores/GlobalSettings.ts')
-rw-r--r--packages/main/src/stores/GlobalSettings.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/main/src/stores/GlobalSettings.ts b/packages/main/src/stores/GlobalSettings.ts
index 7bbc089..2af9da2 100644
--- a/packages/main/src/stores/GlobalSettings.ts
+++ b/packages/main/src/stores/GlobalSettings.ts
@@ -37,6 +37,9 @@ const GlobalSettings = overrideProps(GlobalSettingsBase, {
37 setThemeSource(mode: ThemeSource): void { 37 setThemeSource(mode: ThemeSource): void {
38 self.themeSource = mode; 38 self.themeSource = mode;
39 }, 39 },
40 setShowLocationBar(showLocationBar: boolean): void {
41 self.showLocationBar = showLocationBar;
42 },
40 setSelectedServiceId(serviceId: string): void { 43 setSelectedServiceId(serviceId: string): void {
41 const serviceInstance = resolveIdentifier(Service, self, serviceId); 44 const serviceInstance = resolveIdentifier(Service, self, serviceId);
42 if (serviceInstance === undefined) { 45 if (serviceInstance === undefined) {