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

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
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
    )
}