Hopefully fix that sometimes key is not accepted

Most likely this is a race condition...
This commit is contained in:
lemoer 2025-07-12 04:09:47 +02:00
parent a8a43f8708
commit ea7b6f4089

View File

@ -96,6 +96,11 @@ class _MyHomePageState extends State<MyHomePage> {
client = null;
}
if (key == '') {
// make sure, the key is loaded
await obtainKeyPair();
}
setState(() {
_output = null;
});