mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
fix: pr98 review, lock the storage before performing a sync to get new status after device reset
This commit is contained in:
@@ -1190,6 +1190,7 @@ impl PasskeysView {
|
||||
cx.emit(PasskeysEvent::Notification(
|
||||
"Device reset successfully".into(),
|
||||
));
|
||||
this.lock_storage(cx);
|
||||
this.sync_fido_state(None, cx);
|
||||
}
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user