mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-16 06:36:44 +02:00
bug
This commit is contained in:
@ -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'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user