doc comment

This commit is contained in:
Floris Bruynooghe
2023-02-20 13:08:43 +01:00
parent d0638c1542
commit 4637a28bf6

View File

@@ -1243,6 +1243,10 @@ pub(crate) async fn aeap_explanation_and_link(
.replace2(new_addr)
}
/// Text to put in the [`Qr::Backup`] rendered SVG image.
///
/// The default is "Scan to set up second device for <account name (account addr)>". The
/// account name and address are looked up from the context.
pub(crate) async fn backup_transfer_qr(context: &Context) -> Result<String> {
let contact = Contact::get_by_id(context, ContactId::SELF).await?;
let addr = contact.get_addr();