Skip to content

Commit

Permalink
chore: fixed warnings in at_onboarding flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Feb 20, 2024
1 parent a767dd0 commit 2c8b541
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class _AtOnboardingHomeScreenState extends State<AtOnboardingHomeScreen> {
bool permissionGrated = false;

bool _isContinue = true;
bool _uploadingQRCode = false;
String? _pairingAtsign;

ServerStatus? atSignStatus;
Expand Down Expand Up @@ -957,12 +956,10 @@ class _AtOnboardingHomeScreenState extends State<AtOnboardingHomeScreen> {
try {
String? aesKey, atsign;
setState(() {
_uploadingQRCode = true;
});
String? path = await _desktopQRFilePicker();
if (path == null) {
setState(() {
_uploadingQRCode = false;
});
return;
}
Expand Down Expand Up @@ -994,19 +991,16 @@ class _AtOnboardingHomeScreenState extends State<AtOnboardingHomeScreen> {
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,
Expand Down

0 comments on commit 2c8b541

Please sign in to comment.