Added App pinning

This commit is contained in:
Imran Remtulla
2022-11-12 02:14:45 -05:00
parent 905a807ee9
commit 9bd7ddb21b
5 changed files with 113 additions and 55 deletions

View File

@@ -490,7 +490,8 @@ class AppsProvider with ChangeNotifier {
currentApp.url,
currentApp.additionalData,
name: currentApp.name,
id: currentApp.id);
id: currentApp.id,
pinned: currentApp.pinned);
newApp.installedVersion = currentApp.installedVersion;
if (currentApp.preferredApkIndex < newApp.apkUrls.length) {
newApp.preferredApkIndex = currentApp.preferredApkIndex;