mirror of https://github.com/Corewala/Buran
Removed canGoBack check on request cancellation
This commit is contained in:
parent
7828f3ea7f
commit
2db5aa74ca
|
@ -844,7 +844,7 @@ class GemActivity : AppCompatActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
if(omniTerm.canGoBack() and model.isRequesting()){
|
if(model.isRequesting()){
|
||||||
model.cancel()
|
model.cancel()
|
||||||
loadingView(false)
|
loadingView(false)
|
||||||
}else if(omniTerm.canGoBack()){
|
}else if(omniTerm.canGoBack()){
|
||||||
|
|
Loading…
Reference in New Issue