Skip to content

Commit

Permalink
Fix danmaku not repopulating on Android, close #1599.
Browse files Browse the repository at this point in the history
  • Loading branch information
StageGuard committed Jan 30, 2025
1 parent 133365b commit dd0be0a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ class EpisodeViewModel(
event.list
.filter { it.text.any { c -> !c.isWhitespace() } }
.map { createDanmakuPresentation(it, selfId) },
player.getCurrentPositionMillis(),
withContext(Dispatchers.Main) {
player.getCurrentPositionMillis()
},
)
}
}
Expand Down

0 comments on commit dd0be0a

Please sign in to comment.