Compare commits

...

3 commits

Author SHA1 Message Date
Henry Jameson
7f42d33f67 Merge branch 'setttingssync' into shigusegubu-themes3 2026-03-12 00:33:05 +02:00
Henry Jameson
d358b8370f update theme loading upon login 2026-03-12 00:32:46 +02:00
Henry Jameson
3a9ff0797b fix palette selectors not working 2026-03-11 23:53:03 +02:00
2 changed files with 8 additions and 3 deletions

View file

@ -90,7 +90,7 @@
class="btn button-default palette-entry"
:class="{ toggled: isPaletteActive(p.key), disabled: switchInProgress }"
:disabled="switchInProgress"
@click="() => setLocalPalette(p.key, p)"
@click="() => setPalette(p.key, p)"
>
<div class="palette-label">
<label>
@ -113,7 +113,7 @@
class="btn button-default palette-entry"
:class="{ toggled: isPaletteActive(p.key), disabled: switchInProgress }"
:disabled="switchInProgress"
@click="() => setLocalPalette(p.key, p)"
@click="() => setPalette(p.key, p)"
>
<div class="palette-label">
<label>
@ -143,7 +143,7 @@
:compact="true"
:apply="true"
:disabled="switchInProgress"
@apply-palette="data => setLocalPaletteCustom(data)"
@apply-palette="data => setPaletteCustom(data)"
/>
</template>
<template v-else-if="customThemeVersion === 'v2'">

View file

@ -704,6 +704,11 @@ const users = {
useSyncConfigStore().initSyncConfig(user)
useUserHighlightStore().initUserHighlight(user)
useInterfaceStore()
.applyTheme()
.catch((e) => {
console.error('Error setting theme', e)
})
commit('addNewUsers', [user])
useEmojiStore().fetchEmoji()