mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-01-27 04:29:33 +00:00
chapter selection in player
This commit is contained in:
parent
c24541f1cd
commit
ec8304fdc3
7 changed files with 163 additions and 14 deletions
8
lib/shared/extensions/chapter.dart
Normal file
8
lib/shared/extensions/chapter.dart
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import 'package:shelfsdk/audiobookshelf_api.dart';
|
||||
|
||||
extension ChapterDuration on BookChapter {
|
||||
Duration get duration {
|
||||
// end - start
|
||||
return end - start;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue