Skip to content

Commit

Permalink
add app icon variants
Browse files Browse the repository at this point in the history
  • Loading branch information
levitatingpineapple committed Oct 17, 2024
1 parent ed14e93 commit bbca798
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 34 deletions.
13 changes: 7 additions & 6 deletions App/Navigation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ final class Navigation {
.data(forKey: .filterKey)
.flatMap { Filter(rawValue: $0) }
markDeselectedAsRead()

Item.RequestCount(filter: Filter(isRead: false))
.publisher(in: self.store)
.replaceError(with: .zero)
.sink { UNUserNotificationCenter.current().setBadgeCount($0) }
.store(in: &bag)
Task { @MainActor in
Item.RequestCount(filter: Filter(isRead: false))
.publisher(in: self.store)
.replaceError(with: .zero)
.sink { UNUserNotificationCenter.current().setBadgeCount($0) }
.store(in: &bag)
}
}

private func persistFilter() {
Expand Down
24 changes: 24 additions & 0 deletions App/Support/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,30 @@
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "iOS-dark.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "tinted"
}
],
"filename" : "iOS-tint.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"filename" : "macOS-16.png",
"idiom" : "mac",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion App/Sync/Sync.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ extension Sync: CKSyncEngineDelegate {
.filter { context.options.scope.contains($0) }
) { recordID in
Logger.sync.info("Dequeued \(recordID.recordName)")
return store.item(id: recordID.itemId)?.record
return await store.item(id: recordID.itemId)?.record
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion App/Views/Representables/ContentViewController.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import UIKit
import SwiftUI
import WebKit
@preconcurrency import WebKit

struct ContentViewController: UIViewControllerRepresentable {
let display: ItemDetailView.Display
Expand Down
17 changes: 0 additions & 17 deletions App/Views/Representables/LogView.swift

This file was deleted.

4 changes: 0 additions & 4 deletions FeedRadar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
CEDEC5E82B06809000D83636 /* SafariViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEDEC5E72B06809000D83636 /* SafariViewController.swift */; };
CEDEFFE72B17695000AC9623 /* NavigationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEDEFFE62B17695000AC9623 /* NavigationView.swift */; };
CEDFBB282B1D0BE9009607BC /* FilterSettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEDFBB272B1D0BE9009607BC /* FilterSettingsView.swift */; };
CEE1734D2BB41EF100F6B0BA /* LogView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEE1734C2BB41EF100F6B0BA /* LogView.swift */; };
CEE41B412B0833C1005E0289 /* FeedImportView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEE41B402B0833C1005E0289 /* FeedImportView.swift */; };
CEED7B8A2B0B9AB2004B29C6 /* Store.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEED7B892B0B9AB2004B29C6 /* Store.swift */; };
CEF02BF32B432180007842A5 /* FeedKit in Frameworks */ = {isa = PBXBuildFile; productRef = CEF02BF22B432180007842A5 /* FeedKit */; };
Expand Down Expand Up @@ -126,7 +125,6 @@
CEDEC5E72B06809000D83636 /* SafariViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafariViewController.swift; sourceTree = "<group>"; };
CEDEFFE62B17695000AC9623 /* NavigationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationView.swift; sourceTree = "<group>"; };
CEDFBB272B1D0BE9009607BC /* FilterSettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FilterSettingsView.swift; sourceTree = "<group>"; };
CEE1734C2BB41EF100F6B0BA /* LogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LogView.swift; sourceTree = "<group>"; };
CEE41B402B0833C1005E0289 /* FeedImportView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedImportView.swift; sourceTree = "<group>"; };
CEED7B892B0B9AB2004B29C6 /* Store.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Store.swift; sourceTree = "<group>"; };
CEF02BFA2B448A06007842A5 /* Readability.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = Readability.js; path = Submodules/Readability/Readability.js; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -205,7 +203,6 @@
CE1D89EF2B232F2C00CC2CFF /* LoadingOverlayView.swift */,
CE32192F2B50A7E400490F02 /* PlayerViewController.swift */,
CEDEC5E72B06809000D83636 /* SafariViewController.swift */,
CEE1734C2BB41EF100F6B0BA /* LogView.swift */,
);
path = Representables;
sourceTree = "<group>";
Expand Down Expand Up @@ -513,7 +510,6 @@
CE351BF32B0D3873006FF948 /* Feed.swift in Sources */,
CEDEC5E82B06809000D83636 /* SafariViewController.swift in Sources */,
CE76F89F2B1262FE007ED642 /* Sync.swift in Sources */,
CEE1734D2BB41EF100F6B0BA /* LogView.swift in Sources */,
CEDEC5CD2B0650F700D83636 /* FeedRadarApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/groue/GRDB.swift.git",
"state" : {
"revision" : "77b85bed259b7f107710a0b78c439b1c5839dc45",
"version" : "6.26.0"
"revision" : "2cf6c756e1e5ef6901ebae16576a7e4e4b834622",
"version" : "6.29.3"
}
},
{
"identity" : "grdbquery",
"kind" : "remoteSourceControl",
"location" : "https://github.com/groue/GRDBQuery.git",
"state" : {
"revision" : "42fef11503d221229ec39201c08316b6930755b2",
"version" : "0.8.0"
"revision" : "a6c46dd38ecf11a5c37732870dc03a384d582fba",
"version" : "0.9.0"
}
},
{
Expand All @@ -38,5 +38,5 @@
}
}
],
"version" : 2
"version" : 3
}

0 comments on commit bbca798

Please sign in to comment.