1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 06:35:57 +02:00

enhance(frontend): improve theme apply handling

This commit is contained in:
syuilo
2025-10-22 11:11:30 +09:00
parent 130d065d0c
commit f0380f2d1c
3 changed files with 4 additions and 4 deletions

View File

@@ -69,9 +69,6 @@ export async function common(createVue: () => Promise<App<Element>>) {
if (lastVersion !== version) {
miLocalStorage.setItem('lastVersion', version);
// テーマリビルドするため
miLocalStorage.removeItem('theme');
try { // 変なバージョン文字列来るとcompareVersionsでエラーになるため
if (lastVersion != null && compareVersions(version, lastVersion) === 1) {
isClientUpdated = true;