Skip to content

Commit 8b36c31

Browse files
committed
remove unused arg
1 parent c0b5ab1 commit 8b36c31

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

chime-sdk/src/androidMain/kotlin/com/wannaverse/chimesdk/ChimeSDK.android.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ actual class ChimeSDK(
254254
}
255255

256256
@Composable
257-
actual fun LocalVideoView(cameraFacing: CameraFacing, isOnTop: Boolean, modifier: Modifier) {
257+
actual fun LocalVideoView(cameraFacing: CameraFacing, modifier: Modifier) {
258258
val mirror = remember(cameraFacing) { cameraFacing == CameraFacing.FRONT }
259259

260260
AndroidView(
@@ -269,7 +269,7 @@ actual class ChimeSDK(
269269
}
270270

271271
@Composable
272-
actual fun RemoteVideoView(tileId: Int, isOnTop: Boolean, modifier: Modifier) = AndroidView(
272+
actual fun RemoteVideoView(tileId: Int, modifier: Modifier) = AndroidView(
273273
factory = {
274274
videoTileObserver.getRemoteRenderView(tileId)
275275
?: throw IllegalStateException("Remote view for tile $tileId not found")

chime-sdk/src/commonMain/kotlin/com/wannaverse/chimesdk/ChimeSDK.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ expect class ChimeSDK {
9191

9292
/** Composable that renders the local camera preview. */
9393
@Composable
94-
fun LocalVideoView(cameraFacing: CameraFacing, isOnTop: Boolean, modifier: Modifier = Modifier)
94+
fun LocalVideoView(cameraFacing: CameraFacing, modifier: Modifier = Modifier)
9595

9696
/** Composable that renders a remote participant's video tile. */
9797
@Composable
98-
fun RemoteVideoView(tileId: Int, isOnTop: Boolean, modifier: Modifier = Modifier)
98+
fun RemoteVideoView(tileId: Int, modifier: Modifier = Modifier)
9999

100100
/**
101101
* Broadcasts a real-time data message on [topic].

chime-sdk/src/iosMain/kotlin/com/wannaverse/chimesdk/ChimeSDK.ios.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ actual class ChimeSDK(
216216
}
217217

218218
@Composable
219-
actual fun LocalVideoView(cameraFacing: CameraFacing, isOnTop: Boolean, modifier: Modifier) {
219+
actual fun LocalVideoView(cameraFacing: CameraFacing, modifier: Modifier) {
220220
val mirror = remember(cameraFacing) { cameraFacing == CameraFacing.FRONT }
221221

222222
UIKitView(
@@ -235,7 +235,7 @@ actual class ChimeSDK(
235235
}
236236

237237
@Composable
238-
actual fun RemoteVideoView(tileId: Int, isOnTop: Boolean, modifier: Modifier) = UIKitView(
238+
actual fun RemoteVideoView(tileId: Int, modifier: Modifier) = UIKitView(
239239
factory = {
240240
(videoTileObserver.getRemoteView(tileId)
241241
?: throw IllegalArgumentException("Remote view for tile $tileId not found")

0 commit comments

Comments
 (0)