1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 08:30:44 +00:00

Remove unused code

This commit is contained in:
Douile 2021-12-03 21:29:34 +00:00
parent 91611fcae4
commit 6472e9b6b6
No known key found for this signature in database
GPG Key ID: DAB413485BA6CFFD

View File

@ -159,11 +159,6 @@ class FeedFragment : BaseStateFragment<FeedState>() {
} }
} }
// TODO: Move
fun redrawContent() {
groupAdapter.notifyItemRangeChanged(0, Int.MAX_VALUE)
}
fun setupListViewMode() { fun setupListViewMode() {
// does everything needed to setup the layouts for grid or list modes // does everything needed to setup the layouts for grid or list modes
groupAdapter.spanCount = if (shouldUseGridLayout(context)) getGridSpanCountStreams(context) else 1 groupAdapter.spanCount = if (shouldUseGridLayout(context)) getGridSpanCountStreams(context) else 1