mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-22 17:19:42 +02:00
bug
This commit is contained in:
@@ -77,9 +77,11 @@ class _HomePageState extends State<HomePage> {
|
|||||||
} else if (action == 'app') {
|
} else if (action == 'app') {
|
||||||
await context
|
await context
|
||||||
.read<AppsProvider>()
|
.read<AppsProvider>()
|
||||||
.import('[${Uri.decodeComponent(data)}]');
|
.import('{ apps: [${Uri.decodeComponent(data)}] }');
|
||||||
} else if (action == 'apps') {
|
} else if (action == 'apps') {
|
||||||
await context.read<AppsProvider>().import(Uri.decodeComponent(data));
|
await context
|
||||||
|
.read<AppsProvider>()
|
||||||
|
.import('{ apps: ${Uri.decodeComponent(data)} }');
|
||||||
} else {
|
} else {
|
||||||
throw ObtainiumError(tr('unknown'));
|
throw ObtainiumError(tr('unknown'));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user