Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52a73369 authored by Tom Hsu's avatar Tom Hsu Committed by Android (Google) Code Review
Browse files

Merge "Add a placeholder to show the hint of text on dialog" into main

parents 27dcc3d2 43deca87
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
    )
}