Skip to content

Commit

Permalink
format: remove whitespace in at_onboarding.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierChanth committed Sep 13, 2023
1 parent 2700f28 commit 6614d20
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/at_onboarding_flutter/lib/at_onboarding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import 'package:at_onboarding_flutter/services/onboarding_service.dart';
import 'package:at_onboarding_flutter/utils/at_onboarding_app_constants.dart';
import 'package:flutter/material.dart';


class AtOnboarding {
/// Using this function to get onboard atsing.
///
Expand Down Expand Up @@ -65,12 +64,12 @@ class AtOnboarding {

if (result is AtOnboardingResult) {
return result;
}
}

return AtOnboardingResult.cancelled();
}
}

if (context.mounted){
if (context.mounted) {
final result = await Navigator.push(
context,
MaterialPageRoute(
Expand All @@ -80,7 +79,7 @@ class AtOnboarding {
);
},
),
);
);

if (result is AtOnboardingResult) {
//Update primary atsign after onboard success
Expand All @@ -89,7 +88,7 @@ class AtOnboarding {
await changePrimaryAtsign(atsign: result.atsign!);
}
return result;
}
}
}

return AtOnboardingResult.cancelled();
Expand All @@ -101,8 +100,8 @@ class AtOnboarding {
}) async {
/// Initial Setup
await _initialSetup(context);
if(context.mounted){

if (context.mounted) {
final result = await Navigator.push(
context,
MaterialPageRoute(
Expand All @@ -119,7 +118,7 @@ class AtOnboarding {
return result;
}
}

return AtOnboardingResult.cancelled();
}

Expand All @@ -135,7 +134,7 @@ class AtOnboarding {
/// Initial Setup
await _initialSetup(context);

if(context.mounted){
if (context.mounted) {
final result = await Navigator.push(context,
MaterialPageRoute(builder: (BuildContext context) {
return AtOnboardingResetScreen(config: config);
Expand Down

0 comments on commit 6614d20

Please sign in to comment.