mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 13:25:40 +00:00 
			
		
		
		
	Refactor loading overlay
This commit is contained in:
		| @@ -50,7 +50,7 @@ class _InvenTreeAppSettingsState extends State<InvenTreeAppSettingsWidget> { | ||||
|  | ||||
|   Future <void> loadSettings(BuildContext context) async { | ||||
|  | ||||
|     showLoadingOverlay(context); | ||||
|     showLoadingOverlay(); | ||||
|  | ||||
|     barcodeSounds = await InvenTreeSettingsManager().getValue(INV_SOUNDS_BARCODE, true) as bool; | ||||
|     serverSounds = await InvenTreeSettingsManager().getValue(INV_SOUNDS_SERVER, true) as bool; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ class _InvenTreeLoginState extends State<InvenTreeLoginWidget> { | ||||
|         currentFocus.unfocus(); | ||||
|       } | ||||
|  | ||||
|       showLoadingOverlay(context); | ||||
|       showLoadingOverlay(); | ||||
|  | ||||
|       // Attempt login | ||||
|       final response = await InvenTreeAPI().fetchToken(widget.profile, username, password); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user