Commit 532eaf3
committed
fix(privacy-indicator): declare appName to prevent QML crash
In strict mode QML, assigning a value to an undeclared variable throws an "Invalid write to global property" error. This commit adds the missing `var` declaration to `appName` in `Main.qml`'s camera detection loop, fixing a bug where the plugin silently crashed and failed to display the camera indicator.1 parent 4e6dde8 commit 532eaf3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments