Skip to content
Snippets Groups Projects
Commit 5bf4f569 authored by syuilo's avatar syuilo
Browse files

enhance(client): アップデートが利用可能な場合エラー表示およびダイアログ表示しないように

parent 5a11844e
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
- UIの改善
- MFMにsparklesエフェクトを追加
- 非ログイン自は更新ダイアログを出さないように
- クライアント起動時、アップデートが利用可能な場合エラー表示およびダイアログ表示しないように
### Bugfixes
- アカウントデータのエクスポート/インポート処理ができない問題を修正
......
......@@ -48,8 +48,8 @@
} else if (localeOutdated) {
// nop
} else {
await checkUpdate();
renderError('LOCALE_FETCH_FAILED');
checkUpdate();
return;
}
}
......@@ -65,8 +65,8 @@
script.setAttribute('async', 'true');
script.setAttribute('defer', 'true');
script.addEventListener('error', async () => {
await checkUpdate();
renderError('APP_FETCH_FAILED');
checkUpdate();
});
document.head.appendChild(script);
//#endregion
......@@ -142,10 +142,6 @@
if (meta.version != v) {
localStorage.setItem('v', meta.version);
alert(
'Misskeyの新しいバージョンがあります。ページを再度読み込みします。' +
'\n\n' +
'New version of Misskey available. The page will be reloaded.');
refresh();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment