mirror of
https://github.com/Corewala/Buran
synced 2024-12-22 07:42:43 +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() {
|
||||
if(omniTerm.canGoBack() and model.isRequesting()){
|
||||
model.cancel()
|
||||
loadingView(false)
|
||||
}else if(omniTerm.canGoBack()){
|
||||
gemRequest(omniTerm.goBack())
|
||||
}else{
|
||||
|
|
Loading…
Reference in a new issue