mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
Fix some warnings
This commit is contained in:
committed by
Benoit Marty
parent
a413b635d1
commit
69f916c96d
@@ -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++ }
|
||||
|
||||
Reference in New Issue
Block a user