mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-01-18 16:19:33 +00:00
chore: target android api 36
This commit is contained in:
parent
07aea41c6e
commit
06694f5f0b
7 changed files with 64 additions and 66 deletions
|
|
@ -1,29 +1,29 @@
|
|||
// a table to track preferences of player for each book
|
||||
import 'package:isar/isar.dart';
|
||||
// // a table to track preferences of player for each book
|
||||
// import 'package:isar/isar.dart';
|
||||
|
||||
part 'book_prefs.g.dart';
|
||||
// part 'book_prefs.g.dart';
|
||||
|
||||
/// stores the preferences of the player for a book
|
||||
@Collection()
|
||||
@Name('BookPrefs')
|
||||
class BookPrefs {
|
||||
@Id()
|
||||
int libItemId;
|
||||
// /// stores the preferences of the player for a book
|
||||
// @Collection()
|
||||
// @Name('BookPrefs')
|
||||
// class BookPrefs {
|
||||
// @Id()
|
||||
// int libItemId;
|
||||
|
||||
double? speed;
|
||||
// double? volume;
|
||||
// Duration? sleepTimer;
|
||||
// bool? showTotalProgress;
|
||||
// bool? showChapterProgress;
|
||||
// bool? useChapterInfo;
|
||||
// double? speed;
|
||||
// // double? volume;
|
||||
// // Duration? sleepTimer;
|
||||
// // bool? showTotalProgress;
|
||||
// // bool? showChapterProgress;
|
||||
// // bool? useChapterInfo;
|
||||
|
||||
BookPrefs({
|
||||
required this.libItemId,
|
||||
this.speed,
|
||||
// this.volume,
|
||||
// this.sleepTimer,
|
||||
// this.showTotalProgress,
|
||||
// this.showChapterProgress,
|
||||
// this.useChapterInfo,
|
||||
});
|
||||
}
|
||||
// BookPrefs({
|
||||
// required this.libItemId,
|
||||
// this.speed,
|
||||
// // this.volume,
|
||||
// // this.sleepTimer,
|
||||
// // this.showTotalProgress,
|
||||
// // this.showChapterProgress,
|
||||
// // this.useChapterInfo,
|
||||
// });
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue