mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
list commits to open
This commit is contained in:
parent
385dc36dd3
commit
2104cfac18
@ -9,6 +9,7 @@ import com.fastaccess.fasthub.commit.R
|
||||
import com.fastaccess.github.base.BaseBottomSheetDialogFragment
|
||||
import com.fastaccess.github.base.BaseViewModel
|
||||
import com.fastaccess.github.base.adapter.SimpleListAdapter
|
||||
import com.fastaccess.github.base.extensions.addDivider
|
||||
import com.fastaccess.github.base.utils.EXTRA
|
||||
import com.fastaccess.github.extensions.show
|
||||
|
||||
@ -45,7 +46,8 @@ class CommitListBottomSheetDialog : BaseBottomSheetDialogFragment() {
|
||||
setupToolbar(R.string.commits)
|
||||
swipeRefresh.isEnabled = false
|
||||
recyclerView.adapter = adapter
|
||||
recyclerView.setEmptyView(swipeRefresh, emptyLayout)
|
||||
recyclerView.addDivider()
|
||||
recyclerView.setEmptyView(emptyLayout)
|
||||
fastScroller.attachRecyclerView(recyclerView)
|
||||
map?.let { adapter.submitList(it.keys.toList()) }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user