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 2022-07-19 23:10:06 +10:00 committed by GitHub
parent 7f3dfe7dd7
commit e03a8561b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 74 additions and 5 deletions

View file

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