Skip to content

Commit ba143bb

Browse files
committed
fix: add explicit Unit return type for wasmJs compilation
1 parent 56f1b48 commit ba143bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mediaplayer/src/commonMain/kotlin/io/github/kdroidfilter/composemediaplayer/VideoPlayerState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ interface VideoPlayerState {
174174
fun openAsset(
175175
fileName: String,
176176
initializeplayerState: InitialPlayerState = InitialPlayerState.PLAY,
177-
) = throw UnsupportedOperationException("openAsset is not supported on this platform")
177+
): Unit = throw UnsupportedOperationException("openAsset is not supported on this platform")
178178

179179
// Error handling
180180
val error: VideoPlayerError?

0 commit comments

Comments
 (0)