mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-17 22:21:27 +02:00
fix: qr gif creation button callback
This commit is contained in:
+4
-2
@@ -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;
|
||||
{
|
||||
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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user