mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-17 06:49:34 +00:00
一堆乱七八糟的修改
播放页面增加桌面版
This commit is contained in:
parent
aee1fbde88
commit
3ba35b31b8
116 changed files with 1238 additions and 2592 deletions
|
|
@ -1,18 +0,0 @@
|
|||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
import 'package:shelfsdk/audiobookshelf_api.dart';
|
||||
import 'package:vaani/features/player/playlist.dart';
|
||||
|
||||
part 'playlist_provider.g.dart';
|
||||
|
||||
@riverpod
|
||||
class Playlist extends _$Playlist {
|
||||
@override
|
||||
AudiobookPlaylist build() {
|
||||
return AudiobookPlaylist();
|
||||
}
|
||||
|
||||
void add(BookExpanded item) {
|
||||
state.add(item);
|
||||
ref.notifyListeners();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue