1
0
mirror of git://jb55.com/damus synced 2024-10-06 11:43:21 +00:00

createaccount: ui: modify text field look

This commit is contained in:
ericholguin 2023-05-26 19:59:14 -06:00 committed by William Casarin
parent 0fc38e5c05
commit 548d8e49ec

View File

@ -206,11 +206,10 @@ struct SaveKeyView: View {
TextField("", text: .constant(text))
.padding(5)
.background {
RoundedRectangle(cornerRadius: 4.0).opacity(0.2)
RoundedRectangle(cornerRadius: 4.0).opacity(0.1)
}
.textSelection(.enabled)
.font(.callout.monospaced())
.foregroundColor(.white)
.onTapGesture {
copy_text()
// Hack to force keyboard to hide. Showing keyboard on text field is necessary to register password autofill flow but the text itself should not be modified.