|
@@ -8,8 +8,10 @@ class ShareQrCode extends StatelessWidget {
|
|
|
const ShareQrCode({
|
|
|
super.key,
|
|
|
required this.shareUrl,
|
|
|
+ required this.description,
|
|
|
});
|
|
|
final String shareUrl;
|
|
|
+ final String description;
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
@@ -51,7 +53,7 @@ class ShareQrCode extends StatelessWidget {
|
|
|
padding: const EdgeInsets.only(top: 20, bottom: 20),
|
|
|
child: QRCodeWithLogo(
|
|
|
shareUrl,
|
|
|
- codeStatement: i18nBook.remedical.scanQrCodeToShare.t,
|
|
|
+ codeStatement: description,
|
|
|
operationStatement: i18nBook.remedical.copyLink.t,
|
|
|
operationSuccessCallback: () {
|
|
|
PromptBox.toast(i18nBook.remedical.copySuccess.t);
|