mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
highlight current chapter
This commit is contained in:
@@ -131,6 +131,9 @@ final class PlayerModel: ObservableObject {
|
||||
@Default(.rotateToLandscapeOnEnterFullScreen) private var rotateToLandscapeOnEnterFullScreen
|
||||
#endif
|
||||
|
||||
@Published var playedChapters: [Int] = []
|
||||
@Published var currentChapterIndex: Int?
|
||||
|
||||
var accounts: AccountsModel { .shared }
|
||||
var comments: CommentsModel { .shared }
|
||||
var controls: PlayerControlsModel { .shared }
|
||||
|
Reference in New Issue
Block a user