mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 01:55:06 +01:00
Fix sub activity back naviagation
This commit is contained in:
parent
06a802bb5b
commit
6b06833fee
@ -519,10 +519,10 @@ open class MainActivity : BaseActivity(), DownloadServiceListener {
|
|||||||
goToStartingTab()
|
goToStartingTab()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!preferences.backReturnsToStart().get()) {
|
if (!preferences.backReturnsToStart().get() && this !is SearchActivity) {
|
||||||
setStartingTab()
|
setStartingTab()
|
||||||
}
|
}
|
||||||
SecureActivityDelegate.locked = true
|
SecureActivityDelegate.locked = this !is SearchActivity
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user