ui: do not clear qr state

This commit is contained in:
ardocrat
2024-09-19 21:39:59 +03:00
parent c155deedb5
commit 2cfd428c4c
2 changed files with 5 additions and 25 deletions
-6
View File
@@ -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();
}
}