fix: pr98 review, lock the storage before performing a sync to get new status after device reset

This commit is contained in:
Suyog Tandel
2026-06-30 00:04:31 +05:30
parent b720285c1a
commit e6f9c4df6d
+1
View File
@@ -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) => {