Skip to content

Commit

Permalink
enhance(client): 非ログイン自は更新ダイアログを出さないように
Browse files Browse the repository at this point in the history
Resolve #7756
  • Loading branch information
syuilo committed Sep 22, 2021
1 parent 4b9c605 commit fbbce30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@
- リスト、アンテナタイムラインを個別ページとして分割
- UIの改善
- MFMにsparklesエフェクトを追加
- 非ログイン自は更新ダイアログを出さないように

### Bugfixes
- アカウントデータのエクスポート/インポート処理ができない問題を修正
Expand Down
5 changes: 4 additions & 1 deletion src/client/init.ts
Expand Up @@ -217,7 +217,10 @@ if (lastVersion !== version) {

try { // 変なバージョン文字列来るとcompareVersionsでエラーになるため
if (lastVersion != null && compareVersions(version, lastVersion) === 1) {
popup(import('@client/components/updated.vue'), {}, {}, 'closed');
// ログインしてる場合だけ
if ($i) {
popup(import('@client/components/updated.vue'), {}, {}, 'closed');
}
}
} catch (e) {
}
Expand Down

0 comments on commit fbbce30

Please sign in to comment.