mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 13:21:48 +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