Login: try to fix some stuff around login/logout..
This commit is contained in:
parent
8f03957c23
commit
0cbf4bf328
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) }
|
||||
Loading…
Add table
Add a link
Reference in a new issue