Fix crash reported by RageShake
This commit is contained in:
parent
98aeee9c5a
commit
ab9950ee73
@ -10,6 +10,7 @@ Improvements 🙌:
|
|||||||
Bugfix 🐛:
|
Bugfix 🐛:
|
||||||
- Fix invisible toolbar (Status.im theme) (#1746)
|
- Fix invisible toolbar (Status.im theme) (#1746)
|
||||||
- Fix relative date time formatting (#822)
|
- Fix relative date time formatting (#822)
|
||||||
|
- Fix crash reported by RageShake
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
- Add PlayStore description resources in the Triple-T format, to let Weblate handle them
|
- Add PlayStore description resources in the Triple-T format, to let Weblate handle them
|
||||||
|
@ -77,6 +77,10 @@ class LoginCaptchaFragment @Inject constructor(
|
|||||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||||
super.onPageStarted(view, url, favicon)
|
super.onPageStarted(view, url, favicon)
|
||||||
|
|
||||||
|
if (!isAdded) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Show loader
|
// Show loader
|
||||||
loginCaptchaProgress.isVisible = true
|
loginCaptchaProgress.isVisible = true
|
||||||
}
|
}
|
||||||
@ -84,6 +88,10 @@ class LoginCaptchaFragment @Inject constructor(
|
|||||||
override fun onPageFinished(view: WebView, url: String) {
|
override fun onPageFinished(view: WebView, url: String) {
|
||||||
super.onPageFinished(view, url)
|
super.onPageFinished(view, url)
|
||||||
|
|
||||||
|
if (!isAdded) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Hide loader
|
// Hide loader
|
||||||
loginCaptchaProgress.isVisible = false
|
loginCaptchaProgress.isVisible = false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user