Skip to content

Commit ce21293

Browse files
nbransbyCopilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d0d7597 commit ce21293

4 files changed

Lines changed: 5 additions & 11 deletions

File tree

Samples/JetNews/JetNews.xcodeproj/project.pbxproj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
isa = PBXFrameworksBuildPhase;
3232
buildActionMask = 2147483647;
3333
files = (
34-
AB8E776A2FADFDA10095FA7E /* StoryblokClient in Frameworks */,
3534
AB71D1FF2FDAA75700252801 /* RichTextView in Frameworks */,
36-
AB8E776C2FADFDA10095FA7E /* URLSessionExtension in Frameworks */,
3735
AB71D2032FDAA75700252801 /* URLSessionExtension in Frameworks */,
3836
AB71D2012FDAA75700252801 /* StoryblokClient in Frameworks */,
3937
);
@@ -86,8 +84,6 @@
8684
);
8785
name = JetNews;
8886
packageProductDependencies = (
89-
AB8E77692FADFDA10095FA7E /* StoryblokClient */,
90-
AB8E776B2FADFDA10095FA7E /* URLSessionExtension */,
9187
AB71D1FE2FDAA75700252801 /* RichTextView */,
9288
AB71D2002FDAA75700252801 /* StoryblokClient */,
9389
AB71D2022FDAA75700252801 /* URLSessionExtension */,
@@ -121,7 +117,7 @@
121117
mainGroup = ABBCBD182FA33CE700AFEFE2;
122118
minimizedProjectReferenceProxies = 1;
123119
packageReferences = (
124-
AB71D1FD2FDAA75700252801 /* XCLocalSwiftPackageReference "../../../storyblok-swift" */,
120+
AB71D1FD2FDAA75700252801 /* XCLocalSwiftPackageReference "../.." */,
125121
);
126122
preferredProjectObjectVersion = 77;
127123
productRefGroup = ABBCBD222FA33CE800AFEFE2 /* Products */;
@@ -358,10 +354,9 @@
358354
};
359355
/* End XCConfigurationList section */
360356

361-
/* Begin XCLocalSwiftPackageReference section */
362-
AB71D1FD2FDAA75700252801 /* XCLocalSwiftPackageReference "../../../storyblok-swift" */ = {
357+
AB71D1FD2FDAA75700252801 /* XCLocalSwiftPackageReference "../.." */ = {
363358
isa = XCLocalSwiftPackageReference;
364-
relativePath = "../../../storyblok-swift";
359+
relativePath = "../..";
365360
};
366361
/* End XCLocalSwiftPackageReference section */
367362

Samples/JetNews/JetNews/BlockLibrary.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Foundation
22
import StoryblokClient
3-
import SwiftUI
43

54
@BlockLibrary
65
enum Block : Decodable, Hashable {

Samples/JetNews/JetNews/BlockView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extension Block: View {
99

1010
// MARK: Content Types
1111

12-
case .post(let post): post //Post comforms to View (below)
12+
case .post(let post): post // Post conforms to View (below)
1313

1414
case .page(let blocks):
1515
LazyVStack(alignment: .leading, spacing: 0) {

Samples/JetNews/JetNews/JetNewsApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import StoryblokClient
1313
import RichTextView
1414
internal import URLSessionExtension
1515

16-
private let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "main")
16+
private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "JetNews", category: "main")
1717

1818
@main
1919
struct JetNewsApp: App {

0 commit comments

Comments
 (0)