loginview: add sign in entry view struct

This commit is contained in:
ericholguin
2023-05-26 15:59:20 -06:00
committed by William Casarin
parent 2bddd5ce92
commit 7250cf0d8f

View File

@@ -331,6 +331,20 @@ struct SignInHeader: View {
}
}
struct SignInEntry: View {
let key: Binding<String>
var body: some View {
VStack(alignment: .leading) {
Text("Enter your account key", comment: "Prompt for user to enter an account key to login.")
.fontWeight(.medium)
.padding(.top, 30)
KeyInput(NSLocalizedString("nsec1...", comment: "Prompt for user to enter in an account key to login. This text shows the characters the key could start with if it was a private key."), key: key)
}
}
}
}
}
}