Handle account UI login UI progress better
* Show server down error message on 503 status * Don't allow users to click another login option if another login is in progress * Reset progress bar's visibility properly Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -127,6 +127,14 @@ fun Context.restartApp() {
|
||||
exitProcess(0)
|
||||
}
|
||||
|
||||
fun Context.getEmptyActivityAnimation(): ActivityOptionsCompat {
|
||||
return ActivityOptionsCompat.makeCustomAnimation(
|
||||
this,
|
||||
android.R.anim.fade_in,
|
||||
android.R.anim.fade_out
|
||||
)
|
||||
}
|
||||
|
||||
fun Context.getEmptyActivityBundle(): Bundle? {
|
||||
return ActivityOptionsCompat.makeCustomAnimation(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user