mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-22 22:03:55 +01:00
ui: do not clear qr state
This commit is contained in:
@@ -432,10 +432,4 @@ impl QrCodeContent {
|
||||
}
|
||||
Some(img_raw)
|
||||
}
|
||||
|
||||
/// Reset QR code image content state to default.
|
||||
pub fn clear_state(&mut self) {
|
||||
let mut w_create = self.qr_image_state.write();
|
||||
*w_create = QrImageState::default();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user