Add a double click action on the updates bottom bar button to open downloads
This commit is contained in:
parent
c6db5a01dd
commit
1b9c66896a
@ -137,6 +137,12 @@ class MainActivity : BaseActivity<MainActivityBinding>() {
|
|||||||
val controller = router.getControllerWithTag(id.toString()) as? LibraryController
|
val controller = router.getControllerWithTag(id.toString()) as? LibraryController
|
||||||
controller?.showSettingsSheet()
|
controller?.showSettingsSheet()
|
||||||
}
|
}
|
||||||
|
// SY -->
|
||||||
|
R.id.nav_updates -> {
|
||||||
|
val controller = router.getControllerWithTag(id.toString()) as? UpdatesController
|
||||||
|
controller?.router?.pushController(DownloadController().withFadeTransaction())
|
||||||
|
}
|
||||||
|
// SY <--
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user