Main screen loading indicator (#183)

* Bug fix for login screen

- Prevent setState() from being called if the widget is no longer loaded

* Add callback function when API status changes

- Home screen uses this function to update connection status indicator

* Linting fixes
This commit is contained in:
Oliver authored and GitHub committed 2022-07-19 23:10:06 +10:00
1 parent 7f3dfe7dd7
commit e03a8561b9
5 files changed
+74 -5

No files matched your search

+3
View File
@@ -908,6 +908,9 @@
"serverNotConnected": "Server not connected",
"@serverNotConnected": {},
"serverNotSelected": "Server not selected",
"@serverNotSelected": {},
"sounds": "Sounds",
"@sounds": {},