mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 14:53:25 +01:00
[ADD] WIP: Add My Apps view with support for sideloading new apps, refreshing installed apps and much more
This commit is contained in:
committed by
Joe Mattiello
parent
a0eb30f98e
commit
02e48a207f
@@ -60,7 +60,11 @@ struct AppPillButton: View {
|
||||
|
||||
func handleButton() {
|
||||
if let installedApp {
|
||||
self.openApp(installedApp)
|
||||
if showRemainingDays {
|
||||
self.refreshApp(installedApp)
|
||||
} else {
|
||||
self.openApp(installedApp)
|
||||
}
|
||||
} else if let storeApp {
|
||||
self.installApp(storeApp)
|
||||
}
|
||||
@@ -70,6 +74,10 @@ struct AppPillButton: View {
|
||||
UIApplication.shared.open(installedApp.openAppURL)
|
||||
}
|
||||
|
||||
func refreshApp(_ installedApp: InstalledApp) {
|
||||
|
||||
}
|
||||
|
||||
func installApp(_ storeApp: StoreApp) {
|
||||
let previousProgress = AppManager.shared.installationProgress(for: storeApp)
|
||||
guard previousProgress == nil else {
|
||||
|
||||
Reference in New Issue
Block a user