close dialog after saving qr code

This commit is contained in:
Hailey
2024-06-06 21:16:53 -07:00
parent ce651b1bb5
commit a4ab145c77
+3 -1
View File
@@ -37,7 +37,9 @@ export function QrCodeDialog({
})
await saveImageToMediaLibrary({uri: filename})
Toast.show(_(msg`QR code saved to your camera roll!`))
control.close(() => {
Toast.show(_(msg`QR code saved to your camera roll!`))
})
})
}