Merge pull request #1175 from jiuqianyuan/master
Add prompts for update subscription error
This commit is contained in:
@@ -411,6 +411,9 @@ class MainActivity : BaseActivity(), NavigationView.OnNavigationItemSelectedList
|
|||||||
URL(url).readText()
|
URL(url).readText()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
launch(Dispatchers.Main) {
|
||||||
|
toast("\"" + it.second.remarks + "\" " + getString(R.string.toast_failure))
|
||||||
|
}
|
||||||
return@launch
|
return@launch
|
||||||
}
|
}
|
||||||
launch(Dispatchers.Main) {
|
launch(Dispatchers.Main) {
|
||||||
|
|||||||
Reference in New Issue
Block a user