mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 13:05:37 +02:00
refactor: applies changes from formatter & linter
This commit is contained in:
parent
79116f9e67
commit
630b22e193
2 changed files with 4 additions and 4 deletions
|
@ -128,7 +128,7 @@ class HomeView extends StatelessWidget {
|
|||
},
|
||||
child: model.showUpdatableApps
|
||||
? AvailableUpdatesCard()
|
||||
: InstalledAppsCard(),
|
||||
: const InstalledAppsCard(),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue