Update account_login_view.rs

Changed "enter your key here" to include specific reference to npub, nsec, and nip05 as to show login options to the notedeck customer.

New text: "Enter your public key (npub, nip05), or private key (nsec) here..."
This commit is contained in:
alltheseas
2024-10-18 12:11:32 -05:00
committed by GitHub
parent a2a8a9f66d
commit f83eb38342

View File

@@ -130,7 +130,7 @@ fn login_textedit(manager: &mut LoginState) -> TextEdit {
manager.get_login_textedit(|text| {
egui::TextEdit::singleline(text)
.hint_text(
RichText::new("Your key here...").text_style(NotedeckTextStyle::Body.text_style()),
RichText::new("Enter your public key (npub, nip05), or private key (nsec) here...").text_style(NotedeckTextStyle::Body.text_style()),
)
.vertical_align(Align::Center)
.min_size(Vec2::new(0.0, 40.0))