mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-30 18:44:52 +01:00
アプリデータのインポート完了時に自動的にアプリを閉じる
This commit is contained in:
parent
6e10b6fa97
commit
a24ae01ab1
@ -2878,6 +2878,9 @@ class ActMain : AppCompatActivity()
|
||||
// 通知サービスをリスタート
|
||||
PollingWorker.queueAppDataImportAfter(this@ActMain)
|
||||
}
|
||||
|
||||
showToast(this@ActMain,true,R.string.import_completed_please_restart_app)
|
||||
finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user