Merge pull request #1617 from Fe3O4-Git/patch-1

tweak toast in UserAssetActivity.kt
This commit is contained in:
2dust
2022-08-12 20:02:40 +08:00
committed by GitHub

View File

@@ -141,10 +141,10 @@ class UserAssetActivity : BaseActivity() {
val result = downloadGeo(it, 60000, httpPort)
launch(Dispatchers.Main) {
if (result) {
toast(getString(R.string.toast_success) + it)
toast(getString(R.string.toast_success) + " " + it)
binding.recyclerView.adapter?.notifyDataSetChanged()
} else {
toast(getString(R.string.toast_failure) + it)
toast(getString(R.string.toast_failure) + " " + it)
}
}
}