Fix Tag searching and Recommendations button
This commit is contained in:
parent
46dccf8a2d
commit
321eb38f2d
@ -429,7 +429,7 @@ class MangaAllInOneController :
|
|||||||
private fun openRecommends() {
|
private fun openRecommends() {
|
||||||
val recommendsConfig = BrowseSourceController.RecommendsConfig(presenter.manga.title, presenter.manga.source)
|
val recommendsConfig = BrowseSourceController.RecommendsConfig(presenter.manga.title, presenter.manga.source)
|
||||||
|
|
||||||
parentController?.router?.pushController(
|
router?.pushController(
|
||||||
BrowseSourceController(
|
BrowseSourceController(
|
||||||
Bundle().apply {
|
Bundle().apply {
|
||||||
putParcelable(BrowseSourceController.RECOMMENDS_CONFIG, recommendsConfig)
|
putParcelable(BrowseSourceController.RECOMMENDS_CONFIG, recommendsConfig)
|
||||||
@ -818,7 +818,7 @@ class MangaAllInOneController :
|
|||||||
* @param query the search query to pass to the search controller
|
* @param query the search query to pass to the search controller
|
||||||
*/
|
*/
|
||||||
private fun performGlobalSearch(query: String) {
|
private fun performGlobalSearch(query: String) {
|
||||||
val router = parentController?.router ?: return
|
val router = router ?: return
|
||||||
router.pushController(GlobalSearchController(query).withFadeTransaction())
|
router.pushController(GlobalSearchController(query).withFadeTransaction())
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -845,7 +845,7 @@ class MangaAllInOneController :
|
|||||||
* @param query the search query to the parent controller
|
* @param query the search query to the parent controller
|
||||||
*/
|
*/
|
||||||
private fun performSearch(query: String) {
|
private fun performSearch(query: String) {
|
||||||
val router = parentController?.router ?: return
|
val router = router ?: return
|
||||||
|
|
||||||
if (router.backstackSize < 2) {
|
if (router.backstackSize < 2) {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user