mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
fix: App list is empty if all apps are installed (#1750)
Co-authored-by: Nikita <n.petrjakov@niitp.in>
This commit is contained in:
parent
adb7e5663a
commit
1f5461fbe5
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ class _AppSelectorViewState extends State<AppSelectorView> {
|
|||
),
|
||||
),
|
||||
)
|
||||
: model.allApps.isEmpty
|
||||
: model.allApps.isEmpty && model.apps.isEmpty
|
||||
? const AppSkeletonLoader()
|
||||
: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12.0)
|
||||
|
|
|
@ -54,7 +54,7 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||
.toSet()
|
||||
.where((name) => !apps.any((app) => app.packageName == name))
|
||||
.toList();
|
||||
noApps = allApps.isEmpty;
|
||||
noApps = allApps.isEmpty && apps.isEmpty;
|
||||
return allApps;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue