mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Add Modifier.fillMaxWidth() to the OutlinedTextField in EditProfileScreen to ensure it occupies the full width of its container.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.greenart7c3.nostrsigner.ui
|
||||
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.material3.OutlinedTextField
|
||||
import androidx.compose.material3.Text
|
||||
@@ -37,6 +38,7 @@ fun EditProfileScreen(
|
||||
modifier,
|
||||
) {
|
||||
OutlinedTextField(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
value = textFieldvalue.text,
|
||||
onValueChange = {
|
||||
textFieldvalue = TextFieldValue(it)
|
||||
|
||||
Reference in New Issue
Block a user