mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-04-21 13:49:38 +00:00
增加跳过片头片尾,上一章下一章移动到AudioPlayer对象中
This commit is contained in:
parent
e06c834d0e
commit
620a1eb7a2
29 changed files with 1080 additions and 179 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import 'package:logging/logging.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
import 'package:vaani/db/available_boxes.dart';
|
||||
import 'package:vaani/features/per_book_settings/models/book_settings.dart'
|
||||
as model;
|
||||
import 'package:vaani/features/per_book_settings/models/book_settings.dart' as model;
|
||||
import 'package:vaani/features/per_book_settings/models/nullable_player_settings.dart';
|
||||
|
||||
part 'book_settings_provider.g.dart';
|
||||
|
|
@ -52,6 +51,7 @@ class BookSettings extends _$BookSettings {
|
|||
}
|
||||
|
||||
void update(model.BookSettings newSettings, {bool force = false}) {
|
||||
state = newSettings;
|
||||
updateState(newSettings, force: force);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue