mirror of
https://github.com/Corewala/Buran
synced 2025-01-03 05:34:28 +00:00
Forgot to disable loading when request is canceled
This commit is contained in:
parent
cdcbdcdb2c
commit
918deb4cdf
1 changed files with 1 additions and 0 deletions
|
@ -847,6 +847,7 @@ class GemActivity : AppCompatActivity() {
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
if(omniTerm.canGoBack() and model.isRequesting()){
|
if(omniTerm.canGoBack() and model.isRequesting()){
|
||||||
model.cancel()
|
model.cancel()
|
||||||
|
loadingView(false)
|
||||||
}else if(omniTerm.canGoBack()){
|
}else if(omniTerm.canGoBack()){
|
||||||
gemRequest(omniTerm.goBack())
|
gemRequest(omniTerm.goBack())
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in a new issue