fix(android): fix crash at init

This commit is contained in:
2026-08-04 14:42:27 +02:00
parent 9fea0949bd
commit 77c3a519e7
@@ -100,7 +100,6 @@ class OmniPlayer(
.setRemotePlayer(remote)
.build()
}
eventMap.player = active
active
}
@@ -337,6 +336,10 @@ class OmniPlayer(
}
}
init {
runOnMainThreadSync { eventMap.player = player }
}
override var source: Source? = null
set(value) {
field = value