aboutsummaryrefslogtreecommitdiffstats
path: root/packages/main/src/stores/MainStore.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/MainStore.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/MainStore.ts')
-rw-r--r--packages/main/src/stores/MainStore.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/main/src/stores/MainStore.ts b/packages/main/src/stores/MainStore.ts
index 9ac56f4..cb4f4c9 100644
--- a/packages/main/src/stores/MainStore.ts
+++ b/packages/main/src/stores/MainStore.ts
@@ -86,6 +86,9 @@ const MainStore = types
86 case 'set-theme-source': 86 case 'set-theme-source':
87 self.settings.setThemeSource(action.themeSource); 87 self.settings.setThemeSource(action.themeSource);
88 break; 88 break;
89 case 'set-show-location-bar':
90 self.settings.setShowLocationBar(action.showLocationBar);
91 break;
89 default: 92 default:
90 log.error('Unknown action to dispatch', action); 93 log.error('Unknown action to dispatch', action);
91 break; 94 break;