mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-12 16:23:32 +01:00
Fix build errors after merge
This commit is contained in:
@@ -29,7 +29,7 @@ struct WriteAppReviewView: View {
|
||||
List {
|
||||
// App Information
|
||||
HStack {
|
||||
AppIconView(iconUrl: storeApp.iconURL, size: 50)
|
||||
AppIconView(iconUrl: storeApp.iconURL, isSideStore: storeApp.bundleIdentifier == Bundle.Info.appbundleIdentifier, size: 50)
|
||||
VStack(alignment: .leading) {
|
||||
Text(storeApp.name)
|
||||
.bold()
|
||||
|
||||
@@ -22,7 +22,7 @@ private struct SpecialIcon {
|
||||
}
|
||||
|
||||
class AppIconsData: ObservableObject {
|
||||
static let shared: AppIconsData = AppIconsData()
|
||||
static let shared = AppIconsData()
|
||||
|
||||
private static let specialIcons = [
|
||||
SpecialIcon(assetName: "Neon", suffix: "(Stable)", forceIndex: 0),
|
||||
@@ -34,7 +34,7 @@ class AppIconsData: ObservableObject {
|
||||
@Published var primaryIcon: Icon?
|
||||
@Published var selectedIconName: String?
|
||||
|
||||
init() {
|
||||
private init() {
|
||||
let bundleIcons = Bundle.main.object(forInfoDictionaryKey: "CFBundleIcons") as! [String: Any]
|
||||
|
||||
let primaryIconData = bundleIcons["CFBundlePrimaryIcon"] as! [String: Any]
|
||||
|
||||
Reference in New Issue
Block a user