Fix some warnings

This commit is contained in:
Benoit Marty 2022-12-08 18:35:41 +01:00 committed by Benoit Marty
parent a413b635d1
commit 69f916c96d
6 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,7 @@ import io.element.android.x.core.BuildConfig
// copied at the call site to ensure that its logging only recompositions from the
// original call site.
@Composable
inline fun LogCompositions(tag: String, msg: String) {
fun LogCompositions(tag: String, msg: String) {
if (BuildConfig.DEBUG) {
val ref = remember { Ref(0) }
SideEffect { ref.value++ }