Fixed weird animation when going back to grouped recents

This commit is contained in:
Jay 2020-04-23 23:21:58 -04:00
parent f6318d83ee
commit 7071abb5aa

View File

@ -124,8 +124,10 @@ class RecentsController(bundle: Bundle? = null) : BaseController(bundle),
presenter.onCreate()
if (presenter.recentItems.isNotEmpty()) {
adapter.updateDataSet(presenter.recentItems)
if (presenter.viewType > 0) {
adapter.addScrollableHeader(presenter.generalHeader)
}
}
dl_bottom_sheet.onCreate(this)