Skip to content

Commit

Permalink
refactor: applies changes from formatter & linter
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube committed Jul 15, 2023
1 parent 79116f9 commit 630b22e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ui/views/home/home_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class HomeView extends StatelessWidget {
},
child: model.showUpdatableApps
? AvailableUpdatesCard()
: InstalledAppsCard(),
: const InstalledAppsCard(),
),
],
),
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/views/navigation/navigation_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class NavigationView extends StatelessWidget {
onViewModelReady: (model) => model.initialize(context),
viewModelBuilder: () => locator<NavigationViewModel>(),
builder: (context, model, child) => WillPopScope(
onWillPop: ()async{
if(model.currentIndex == 0){
onWillPop: () async {
if (model.currentIndex == 0) {
return true;
}else{
} else {
model.setIndex(0);
return false;
}
Expand Down

0 comments on commit 630b22e

Please sign in to comment.