summaryrefslogtreecommitdiff
path: root/packages/frontend/src/store.ts
diff options
context:
space:
mode:
authorCenTdemeern1 <timo.herngreen@gmail.com>2024-10-13 00:57:41 +0200
committerCenTdemeern1 <timo.herngreen@gmail.com>2024-10-13 01:03:29 +0200
commit5085c39440d471b00319eb4ebb2b3169f0cefcd7 (patch)
tree5aaa295250b06de89e6670afd3501008a50c1a65 /packages/frontend/src/store.ts
parentmerge: Fix: Finding emoji that include capital letters (!676) (diff)
downloadsharkey-5085c39440d471b00319eb4ebb2b3169f0cefcd7.tar.gz
sharkey-5085c39440d471b00319eb4ebb2b3169f0cefcd7.tar.bz2
sharkey-5085c39440d471b00319eb4ebb2b3169f0cefcd7.zip
Implement clickable notifications
I'm not sure about the get function pattern here as it doesn't include a value to base reactivity on; I might be too used to Svelte though and maybe that's fine
Diffstat (limited to 'packages/frontend/src/store.ts')
-rw-r--r--packages/frontend/src/store.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index 8665cdaf76..fe8fb25219 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -468,6 +468,10 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: 'horizontal' as 'vertical' | 'horizontal',
},
+ notificationClickable: {
+ where: 'device',
+ default: false,
+ },
enableCondensedLineForAcct: {
where: 'device',
default: false,