forked from github/szkolny
[UI] Fix easter egg prize receiving.
This commit is contained in:
parent
fd0fc652a3
commit
baa98f25c5
@ -95,9 +95,11 @@ class LoginEggsFragment : Fragment(), CoroutineScope {
|
|||||||
anim.interpolator = AccelerateDecelerateInterpolator()
|
anim.interpolator = AccelerateDecelerateInterpolator()
|
||||||
anim.duration = 10
|
anim.duration = 10
|
||||||
anim.fillAfter = true
|
anim.fillAfter = true
|
||||||
|
activity.runOnUiThread {
|
||||||
activity.getRootView().startAnimation(anim)
|
activity.getRootView().startAnimation(anim)
|
||||||
nav.navigate(R.id.loginPrizeFragment, null, activity.navOptions)
|
nav.navigate(R.id.loginPrizeFragment, null, activity.navOptions)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}, "EggInterface")
|
}, "EggInterface")
|
||||||
loadUrl("https://szkolny.eu/game/runner.html")
|
loadUrl("https://szkolny.eu/game/runner.html")
|
||||||
webViewClient = object : WebViewClient() {
|
webViewClient = object : WebViewClient() {
|
||||||
|
Loading…
Reference in New Issue
Block a user