show card not initialized method

This commit is contained in:
Kukks 2024-02-28 14:23:47 +00:00
parent 786997a2d3
commit d5c8283d01
No known key found for this signature in database
GPG key ID: 8E5530D9D1C93097

View file

@ -91,6 +91,10 @@
setState("ShowBalance");
}
else if(this.readyState == 4 && this.status == 404) {
setState("WaitingForCard");
handleError(new Error("Card not initialized"));
}
else {
setState("WaitingForCard");
}