1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2025-01-30 18:44:52 +01:00

アプリデータのインポート完了時に自動的にアプリを閉じる

This commit is contained in:
tateisu 2020-02-01 17:13:51 +09:00
parent 6e10b6fa97
commit a24ae01ab1
3 changed files with 5 additions and 0 deletions

View File

@ -2878,6 +2878,9 @@ class ActMain : AppCompatActivity()
// 通知サービスをリスタート
PollingWorker.queueAppDataImportAfter(this@ActMain)
}
showToast(this@ActMain,true,R.string.import_completed_please_restart_app)
finish()
}
}

View File

@ -1012,5 +1012,6 @@
<string name="copy_to_clipboard">クリップボードにコピー</string>
<string name="copied_to_clipboard">クリップボードにコピーしました</string>
<string name="language_filter_quit_waring">Language filter is not saved. exit anyway?</string>
<string name="import_completed_please_restart_app">インポート完了。アプリを再起動してください</string>
</resources>

View File

@ -1007,4 +1007,5 @@
<string name="copy_to_clipboard">Copy to clipboard</string>
<string name="copied_to_clipboard">Copied to clipboard.</string>
<string name="language_filter_quit_waring">Language filter is not saved. exit anyway?</string>
<string name="import_completed_please_restart_app">Import completed. Please restart app.</string>
</resources>