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)) TextField("", text: .constant(text))
.padding(5) .padding(5)
.background { .background {
RoundedRectangle(cornerRadius: 4.0).opacity(0.2) RoundedRectangle(cornerRadius: 4.0).opacity(0.1)
} }
.textSelection(.enabled) .textSelection(.enabled)
.font(.callout.monospaced()) .font(.callout.monospaced())
.foregroundColor(.white)
.onTapGesture { .onTapGesture {
copy_text() 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. // 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.