fix: qr gif creation button callback

This commit is contained in:
ardocrat 2024-06-06 07:47:01 +03:00
parent 2688bf606e
commit 2fb3bffc8f

View file

@ -171,8 +171,10 @@ impl QrCodeContent {
share_text,
Colors::blue(),
Colors::white_or_black(false), || {
{
let mut w_state = self.qr_image_state.write();
w_state.exporting = true;
}
// Create GIF to export.
self.create_qr_gif(text, DEFAULT_QR_SIZE as usize);
});