This commit is contained in:
Imran Remtulla
2023-12-16 03:45:15 -05:00
parent 5720c55301
commit 5da56acac8

View File

@ -77,9 +77,11 @@ class _HomePageState extends State<HomePage> {
} else if (action == 'app') {
await context
.read<AppsProvider>()
.import('[${Uri.decodeComponent(data)}]');
.import('{ apps: [${Uri.decodeComponent(data)}] }');
} else if (action == 'apps') {
await context.read<AppsProvider>().import(Uri.decodeComponent(data));
await context
.read<AppsProvider>()
.import('{ apps: ${Uri.decodeComponent(data)} }');
} else {
throw ObtainiumError(tr('unknown'));
}