mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
refactor(wip): add TextFieldState to ViewModels and update call sites
https://claude.ai/code/session_014FZPV258VfdeE1mcyeU7wU
This commit is contained in:
+2
-4
@@ -530,8 +530,7 @@ fun SendDirectMessageTo(
|
||||
)
|
||||
|
||||
ThinPaddingTextField(
|
||||
value = postViewModel.toUsers,
|
||||
onValueChange = postViewModel::updateToUsers,
|
||||
state = postViewModel.toUsersState,
|
||||
modifier =
|
||||
Modifier
|
||||
.weight(1f)
|
||||
@@ -572,8 +571,7 @@ fun SendDirectMessageTo(
|
||||
)
|
||||
|
||||
ThinPaddingTextField(
|
||||
value = postViewModel.subject,
|
||||
onValueChange = { postViewModel.updateSubject(it) },
|
||||
state = postViewModel.subjectState,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
placeholder = {
|
||||
Text(
|
||||
|
||||
Reference in New Issue
Block a user