mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-11 07:43:28 +01:00
[AltWidget] Adds interactive Active Apps widget to view + refresh all active apps (iOS 17+)
This commit is contained in:
@@ -14,8 +14,7 @@ public extension UIColor
|
||||
|
||||
static let altPrimary = UIColor(named: "Primary", in: colorBundle, compatibleWith: nil)!
|
||||
static let deltaPrimary = UIColor(named: "DeltaPrimary", in: colorBundle, compatibleWith: nil)
|
||||
|
||||
static let altPink = UIColor(named: "Pink", in: colorBundle, compatibleWith: nil)!
|
||||
static let clipPrimary = UIColor(named: "ClipPrimary", in: colorBundle, compatibleWith: nil)
|
||||
|
||||
static let refreshRed = UIColor(named: "RefreshRed", in: colorBundle, compatibleWith: nil)!
|
||||
static let refreshOrange = UIColor(named: "RefreshOrange", in: colorBundle, compatibleWith: nil)!
|
||||
|
||||
28
AltStoreCore/Model/DatabaseManager+Async.swift
Normal file
28
AltStoreCore/Model/DatabaseManager+Async.swift
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// DatabaseManager+Async.swift
|
||||
// AltStoreCore
|
||||
//
|
||||
// Created by Riley Testut on 8/22/23.
|
||||
// Copyright © 2023 Riley Testut. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
public extension DatabaseManager
|
||||
{
|
||||
func start() async throws
|
||||
{
|
||||
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
|
||||
self.start { error in
|
||||
if let error
|
||||
{
|
||||
continuation.resume(throwing: error)
|
||||
}
|
||||
else
|
||||
{
|
||||
continuation.resume()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,9 @@
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0.698",
|
||||
"green" : "0.255",
|
||||
"red" : "0.925"
|
||||
"blue" : "140",
|
||||
"green" : "0",
|
||||
"red" : "236"
|
||||
}
|
||||
},
|
||||
"idiom" : "universal"
|
||||
Reference in New Issue
Block a user