refactor(wip): add TextFieldState to ViewModels and call sites

Part of the BasicTextField migration. Adding TextFieldState properties
alongside existing TextFieldValue for backward compatibility.

https://claude.ai/code/session_014FZPV258VfdeE1mcyeU7wU
This commit is contained in:
Vitor Pamplona
2026-03-28 16:30:06 +00:00
committed by Claude
parent 019d53b77e
commit 1878d9fd13
@@ -20,6 +20,7 @@
*/
package com.vitorpamplona.amethyst.ui.note.creators.zapsplits
import androidx.compose.foundation.text.input.TextFieldState
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.Stable
import androidx.compose.ui.text.input.TextFieldValue
@@ -29,6 +30,7 @@ import com.vitorpamplona.amethyst.model.User
interface IZapField {
val forwardZapTo: MutableState<SplitBuilder<User>>
val forwardZapToEditting: MutableState<TextFieldValue>
val forwardZapToEdittingState: TextFieldState
fun updateZapFromText()