mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-21 12:17:12 +03:00
fix: Start video from last position
This commit is contained in:
parent
305a179c00
commit
00fb0a740b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class PlayerViewModel @JvmOverloads constructor(
|
|||
/**
|
||||
* The position in the current video. Used to restore from process kill.
|
||||
*/
|
||||
private var episodePosition = savedState.get<Long>("episode_position") ?: 0L
|
||||
private var episodePosition = savedState.get<Long>("episode_position")
|
||||
set(value) {
|
||||
savedState["episode_position"] = value
|
||||
field = value
|
||||
|
|
Loading…
Reference in a new issue