fix: qr gif creation button callback
This commit is contained in:
parent
2688bf606e
commit
2fb3bffc8f
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue