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,
|
share_text,
|
||||||
Colors::blue(),
|
Colors::blue(),
|
||||||
Colors::white_or_black(false), || {
|
Colors::white_or_black(false), || {
|
||||||
let mut w_state = self.qr_image_state.write();
|
{
|
||||||
w_state.exporting = true;
|
let mut w_state = self.qr_image_state.write();
|
||||||
|
w_state.exporting = true;
|
||||||
|
}
|
||||||
// Create GIF to export.
|
// Create GIF to export.
|
||||||
self.create_qr_gif(text, DEFAULT_QR_SIZE as usize);
|
self.create_qr_gif(text, DEFAULT_QR_SIZE as usize);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue