Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlaster committed Nov 13, 2023
1 parent 5af21c9 commit 5f6cc1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/dev/dimension/flare/molecule/Molecule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ private class PresenterHolder<T>(
body: @Composable () -> T,
) : ViewModel() {
private val scope = CoroutineScope(viewModelScope.coroutineContext + AndroidUiDispatcher.Main)
val state = scope.launchMolecule(RecompositionMode.ContextClock, body)
val state = scope.launchMolecule(mode = RecompositionMode.ContextClock, body = body)
}

/**
Expand Down
Binary file not shown.

0 comments on commit 5f6cc1a

Please sign in to comment.