Merge branch 'setttingssync' into shigusegubu-themes3

This commit is contained in:
Henry Jameson 2026-03-12 00:33:05 +02:00
commit 7f42d33f67
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()