mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
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:
+2
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user