Added share option, saveApp -> saveApps

This commit is contained in:
Imran Remtulla
2022-09-25 01:41:50 -04:00
parent 9a4b0301be
commit 428c208de4
8 changed files with 98 additions and 26 deletions

View File

@@ -109,16 +109,18 @@ class MyApp extends StatelessWidget {
if (isFirstRun) {
// If this is the first run, ask for notification permissions and add Obtainium to the Apps list
Permission.notification.request();
appsProvider.saveApp(App(
'imranr98_obtainium_${GitHub().host}',
'https://github.com/ImranR98/Obtainium',
'ImranR98',
'Obtainium',
currentReleaseTag,
currentReleaseTag,
[],
0,
['true']));
appsProvider.saveApps([
App(
'imranr98_obtainium_${GitHub().host}',
'https://github.com/ImranR98/Obtainium',
'ImranR98',
'Obtainium',
currentReleaseTag,
currentReleaseTag,
[],
0,
['true'])
]);
}
}