From 2c8b54175910224db7f095c60bf7117945313ac4 Mon Sep 17 00:00:00 2001 From: Sardar1208 Date: Tue, 20 Feb 2024 16:29:50 +0530 Subject: [PATCH] chore: fixed warnings in at_onboarding flutter --- .../lib/screen/at_onboarding_home_screen.dart | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/at_onboarding_flutter/lib/screen/at_onboarding_home_screen.dart b/packages/at_onboarding_flutter/lib/screen/at_onboarding_home_screen.dart index e53fd5dc..51083c98 100644 --- a/packages/at_onboarding_flutter/lib/screen/at_onboarding_home_screen.dart +++ b/packages/at_onboarding_flutter/lib/screen/at_onboarding_home_screen.dart @@ -81,7 +81,6 @@ class _AtOnboardingHomeScreenState extends State { bool permissionGrated = false; bool _isContinue = true; - bool _uploadingQRCode = false; String? _pairingAtsign; ServerStatus? atSignStatus; @@ -957,12 +956,10 @@ class _AtOnboardingHomeScreenState extends State { try { String? aesKey, atsign; setState(() { - _uploadingQRCode = true; }); String? path = await _desktopQRFilePicker(); if (path == null) { setState(() { - _uploadingQRCode = false; }); return; } @@ -994,19 +991,16 @@ class _AtOnboardingHomeScreenState extends State { AtOnboardingLocalizations.current.error_incorrect_QRFile, ); setState(() { - _uploadingQRCode = false; }); return; } _processSharedSecret(atsign, aesKey); // await processAESKey(atsign, aesKey, false); setState(() { - _uploadingQRCode = false; }); } catch (error) { _logger.warning(error); setState(() { - _uploadingQRCode = false; }); await showErrorDialog( AtOnboardingLocalizations.current.error_process_file,