refactor: applies changes from formatter & linter

This commit is contained in:
Pun Butrach 2023-07-15 12:41:03 +07:00
parent 79116f9e67
commit 630b22e193
No known key found for this signature in database
GPG Key ID: 5F47D61B676D07F6
2 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ class HomeView extends StatelessWidget {
},
child: model.showUpdatableApps
? AvailableUpdatesCard()
: InstalledAppsCard(),
: const InstalledAppsCard(),
),
],
),

View File

@ -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;
}