From 4637a28bf681c39975db8638d5a131887f581aad Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 20 Feb 2023 13:08:43 +0100 Subject: [PATCH] doc comment --- src/stock_str.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stock_str.rs b/src/stock_str.rs index 580ffc6f8..6401ed1e1 100644 --- a/src/stock_str.rs +++ b/src/stock_str.rs @@ -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 ". The +/// account name and address are looked up from the context. pub(crate) async fn backup_transfer_qr(context: &Context) -> Result { let contact = Contact::get_by_id(context, ContactId::SELF).await?; let addr = contact.get_addr();