mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 04:45:07 +01:00
Fix search activity going to a tab
This commit is contained in:
parent
6c85a54c07
commit
06a802bb5b
@ -514,7 +514,7 @@ open class MainActivity : BaseActivity(), DownloadServiceListener {
|
|||||||
if (if (router.backstackSize == 1) !(sheetController?.handleSheetBack() ?: false)
|
if (if (router.backstackSize == 1) !(sheetController?.handleSheetBack() ?: false)
|
||||||
else !router.handleBack()
|
else !router.handleBack()
|
||||||
) {
|
) {
|
||||||
if (preferences.backReturnsToStart().get() &&
|
if (preferences.backReturnsToStart().get() && this !is SearchActivity &&
|
||||||
startingTab() != bottom_nav?.selectedItemId) {
|
startingTab() != bottom_nav?.selectedItemId) {
|
||||||
goToStartingTab()
|
goToStartingTab()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user