Show toast on login
parent
582035df16
commit
5d4fd8b07e
|
@ -79,6 +79,8 @@ class AccountService(private val mCtx: MainActivity, private val mHttp: HttpServ
|
||||||
val loginName = body.getString("loginName")
|
val loginName = body.getString("loginName")
|
||||||
val appPassword = body.getString("appPassword")
|
val appPassword = body.getString("appPassword")
|
||||||
|
|
||||||
|
toast("Logged in, waiting for next page ...")
|
||||||
|
|
||||||
mCtx.runOnUiThread {
|
mCtx.runOnUiThread {
|
||||||
// Save login info (also updates header)
|
// Save login info (also updates header)
|
||||||
storeCredentials(baseUrl, loginName, appPassword)
|
storeCredentials(baseUrl, loginName, appPassword)
|
||||||
|
|
Loading…
Reference in New Issue