From 5d4fd8b07e4e0cfb408ff5d26ce9027e5264096c Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 2 Oct 2023 10:17:27 -0700 Subject: [PATCH] Show toast on login --- app/src/main/java/gallery/memories/service/AccountService.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/gallery/memories/service/AccountService.kt b/app/src/main/java/gallery/memories/service/AccountService.kt index c239a1cf..036cb5f2 100644 --- a/app/src/main/java/gallery/memories/service/AccountService.kt +++ b/app/src/main/java/gallery/memories/service/AccountService.kt @@ -79,6 +79,8 @@ class AccountService(private val mCtx: MainActivity, private val mHttp: HttpServ val loginName = body.getString("loginName") val appPassword = body.getString("appPassword") + toast("Logged in, waiting for next page ...") + mCtx.runOnUiThread { // Save login info (also updates header) storeCredentials(baseUrl, loginName, appPassword)