Fixed weird animation when going back to grouped recents
This commit is contained in:
parent
f6318d83ee
commit
7071abb5aa
1 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,9 @@ class RecentsController(bundle: Bundle? = null) : BaseController(bundle),
|
|||
presenter.onCreate()
|
||||
if (presenter.recentItems.isNotEmpty()) {
|
||||
adapter.updateDataSet(presenter.recentItems)
|
||||
adapter.addScrollableHeader(presenter.generalHeader)
|
||||
if (presenter.viewType > 0) {
|
||||
adapter.addScrollableHeader(presenter.generalHeader)
|
||||
}
|
||||
}
|
||||
|
||||
dl_bottom_sheet.onCreate(this)
|
||||
|
|
Reference in a new issue