Prefs: open Log after key/json import

pull/227/head
Georg Lukas 2018-10-22 16:17:45 +02:00
rodzic 65ace05a56
commit 1b186f97ed
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -85,6 +85,7 @@ class KeyfileImportActivity extends Activity {
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
getString(R.string.post_info), msg)
startActivity(new Intent(this, classOf[LogActivity]))
}
} catch {
case e : Exception =>

Wyświetl plik

@ -52,6 +52,7 @@ class ProfileImportActivity extends Activity {
Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
db.addPost(System.currentTimeMillis(), StorageDatabase.Post.TYPE_INFO,
getString(R.string.profile_import_activity), msg)
startActivity(new Intent(this, classOf[LogActivity]))
} catch {
case e : Exception =>
val errmsg = getString(R.string.profile_import_error, e.getMessage())