fix: prevent unsupported operation exception (#1018)

This commit is contained in:
ponces 2023-07-14 11:55:04 +01:00 committed by GitHub
parent c5b0621323
commit a879ac30fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ class RootAPI {
}
Future<List<String>> getInstalledApps() async {
final List<String> apps = List.empty();
final List<String> apps = List.empty(growable: true);
try {
String? res = await Root.exec(
cmd: 'ls "$_revancedDirPath"',