Fix some warnings
This commit is contained in:
parent
a413b635d1
commit
69f916c96d
6 changed files with 9 additions and 4 deletions
|
|
@ -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++ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue