Skip to content

Commit a77ab4d

Browse files
committed
Strip defaults off the interface declaration for Render()
Let callers pass values explicitly
1 parent 8dc2e12 commit a77ab4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ohs-player-library/src/commonMain/kotlin/dev/ohs/player/library/renderer/ComponentRenderer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface ComponentRenderer<T, C> {
4040
* @param modifier applied to the root composable.
4141
*/
4242
@Composable
43-
fun Render(item: T, config: C, onClick: () -> Unit = {}, modifier: Modifier = Modifier)
43+
fun Render(item: T, config: C, onClick: () -> Unit, modifier: Modifier)
4444
}
4545

4646
/**

0 commit comments

Comments
 (0)