Update account_login_view.rs

added example nip05/nostr address in "enter your public key..." field
This commit is contained in:
alltheseas
2024-11-18 08:58:34 -06:00
committed by GitHub
parent de8029d60f
commit 252aa11359

View File

@@ -130,7 +130,7 @@ fn login_textedit(manager: &mut AcquireKeyState) -> TextEdit {
manager.get_acquire_textedit(|text| { manager.get_acquire_textedit(|text| {
egui::TextEdit::singleline(text) egui::TextEdit::singleline(text)
.hint_text( .hint_text(
RichText::new("Enter your public key (npub, nip05), or private key (nsec) here...") RichText::new("Enter your public key (npub), nostr address (e.g. verbiricha@habla.news), or private key (nsec) here...")
.text_style(NotedeckTextStyle::Body.text_style()), .text_style(NotedeckTextStyle::Body.text_style()),
) )
.vertical_align(Align::Center) .vertical_align(Align::Center)