Various improvements to QR scanner

* Improve QR scanner initialization time
* Fix race condition with QR scanner and button spamming
* Don't show black screen before QR scanner has loaded
* Show loading message for QR scanner
This commit is contained in:
2018-07-26 22:02:54 +03:00
parent 09de17729b
commit d3e1b746cd
3 changed files with 8 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ typedef struct {
volatile bool finished;
volatile bool success;
Handle cancel;
Handle started;
bool capturing;
struct quirc* context;