Skip to content
Snippets Groups Projects
Commit 43deca87 authored by tomhsu's avatar tomhsu Committed by Tom Hsu
Browse files

Add a placeholder to show the hint of text on dialog

fix: 333642116
Test: Manual test
Change-Id: I208d5f75f5b6c8d57bb55043e024e173e7a20d7c
parent bf44397d
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ fun SettingsOutlinedTextField(
singleLine: Boolean = true,
enabled: Boolean = true,
shape: Shape = OutlinedTextFieldDefaults.shape,
placeholder: @Composable (() -> Unit)? = null,
modifier: Modifier = Modifier
.fillMaxWidth()
.padding(SettingsDimension.textFieldPadding),
......@@ -60,6 +61,7 @@ fun SettingsOutlinedTextField(
Text(text = errorMessage)
}
},
placeholder = placeholder,
shape = shape
)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment