mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
context menu base and move query to state
This commit is contained in:
@@ -10,6 +10,7 @@ import '../../hooks/use_on_source.dart';
|
||||
import '../../hooks/use_paging_controller.dart';
|
||||
import '../../state/database.dart';
|
||||
import '../../state/source.dart';
|
||||
import '../menus.dart';
|
||||
import 'items.dart';
|
||||
|
||||
const kPageSize = 30;
|
||||
@@ -45,6 +46,7 @@ class PlaylistsList extends HookConsumerWidget {
|
||||
state: state,
|
||||
fetchNextPage: fetchNextPage,
|
||||
builderDelegate: PagedChildBuilderDelegate<Playlist>(
|
||||
noMoreItemsIndicatorBuilder: (context) => FabPadding(),
|
||||
itemBuilder: (context, item, index) {
|
||||
return PlaylistListTile(
|
||||
playlist: item,
|
||||
|
||||
Reference in New Issue
Block a user