mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02: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
@ -78,7 +78,7 @@ class _AppSelectorViewState extends State<AppSelectorView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: model.allApps.isEmpty
|
: model.allApps.isEmpty && model.apps.isEmpty
|
||||||
? const AppSkeletonLoader()
|
? const AppSkeletonLoader()
|
||||||
: Padding(
|
: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12.0)
|
padding: const EdgeInsets.symmetric(horizontal: 12.0)
|
||||||
|
@ -54,7 +54,7 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||||||
.toSet()
|
.toSet()
|
||||||
.where((name) => !apps.any((app) => app.packageName == name))
|
.where((name) => !apps.any((app) => app.packageName == name))
|
||||||
.toList();
|
.toList();
|
||||||
noApps = allApps.isEmpty;
|
noApps = allApps.isEmpty && apps.isEmpty;
|
||||||
return allApps;
|
return allApps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user