Merge branch 'master' into MR

This commit is contained in:
LuftVerbot 2023-11-17 19:52:08 +01:00
commit 72a54cbb6e
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,8 @@
name: CI name: CI
permissions:
contents: write
on: on:
push: push:
branches: branches:

View file

@ -138,7 +138,7 @@ class PlayerViewModel @JvmOverloads constructor(
/** /**
* The position in the current video. Used to restore from process kill. * 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) { set(value) {
savedState["episode_position"] = value savedState["episode_position"] = value
field = value field = value