Login: try to fix some stuff around login/logout..

This commit is contained in:
ganfra
2022-11-22 12:04:01 +01:00
parent 1ba025ed30
commit b2d154f4a0
5 changed files with 66 additions and 23 deletions
@@ -0,0 +1,11 @@
package io.element.android.x.core.compose
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
@Composable
public fun textFieldState(stateValue: String): MutableState<String> =
remember(stateValue) { mutableStateOf(stateValue) }