Skip to content

Commit

Permalink
- Fix some build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
boscojwho committed Oct 11, 2023
1 parent b19c9c8 commit 0df4cf1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Mlem.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@
E40E018C2AABF85500410B2C /* AppRoutes.swift in Sources */ = {isa = PBXBuildFile; fileRef = E40E018B2AABF85500410B2C /* AppRoutes.swift */; };
E40E018E2AABFBDE00410B2C /* AnyNavigationPath.swift in Sources */ = {isa = PBXBuildFile; fileRef = E40E018D2AABFBDE00410B2C /* AnyNavigationPath.swift */; };
E40E01902AABFC9300410B2C /* AnyNavigablePath.swift in Sources */ = {isa = PBXBuildFile; fileRef = E40E018F2AABFC9300410B2C /* AnyNavigablePath.swift */; };
E42D9B5A2AD6802B0087693C /* OnboardingRoutes.swift in Sources */ = {isa = PBXBuildFile; fileRef = E42D9B592AD6802B0087693C /* OnboardingRoutes.swift */; };
E453477E2A9DE37300D1B46F /* Array+SafeIndexing.swift in Sources */ = {isa = PBXBuildFile; fileRef = E453477D2A9DE37300D1B46F /* Array+SafeIndexing.swift */; };
E453A1D02A81C2140004BB8A /* QuickLookPreviewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E453A1CF2A81C2140004BB8A /* QuickLookPreviewController.swift */; };
E47478132AAC350E001CB1AC /* NavigationLink+Helpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = E47478122AAC350E001CB1AC /* NavigationLink+Helpers.swift */; };
Expand Down Expand Up @@ -933,6 +934,7 @@
E40E018B2AABF85500410B2C /* AppRoutes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppRoutes.swift; sourceTree = "<group>"; };
E40E018D2AABFBDE00410B2C /* AnyNavigationPath.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyNavigationPath.swift; sourceTree = "<group>"; };
E40E018F2AABFC9300410B2C /* AnyNavigablePath.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyNavigablePath.swift; sourceTree = "<group>"; };
E42D9B592AD6802B0087693C /* OnboardingRoutes.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingRoutes.swift; sourceTree = "<group>"; };
E453477D2A9DE37300D1B46F /* Array+SafeIndexing.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+SafeIndexing.swift"; sourceTree = "<group>"; };
E453A1CF2A81C2140004BB8A /* QuickLookPreviewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuickLookPreviewController.swift; sourceTree = "<group>"; };
E47478122AAC350E001CB1AC /* NavigationLink+Helpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NavigationLink+Helpers.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2387,6 +2389,7 @@
children = (
E49E01F32ABD99D300E42BB3 /* Routable.swift */,
E40E018B2AABF85500410B2C /* AppRoutes.swift */,
E42D9B592AD6802B0087693C /* OnboardingRoutes.swift */,
);
path = Routes;
sourceTree = "<group>";
Expand Down Expand Up @@ -2684,6 +2687,7 @@
E4DDB4322A81819300B3A7E0 /* Double.swift in Sources */,
CD3FBCD92A4A6BD100B2063F /* Replies Tracker.swift in Sources */,
5016A2B32A67EC0700B257E8 /* NotificationDisplayer.swift in Sources */,
E42D9B5A2AD6802B0087693C /* OnboardingRoutes.swift in Sources */,
CD1446212A5B328E00610EF1 /* Privacy Policy.swift in Sources */,
507573942A5AD59E00AA7ABD /* EquatableError.swift in Sources */,
CDE6A81A2A490B970062D161 /* Inbox Reply View.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion Mlem/Views/Tabs/Search/Results/CommunityResultView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct CommunityResultView: View {
}

var body: some View {
NavigationLink(value: NavigationRoute.apiCommunity(community.community)) {
NavigationLink(value: AppRoute.apiCommunity(community.community)) {
HStack(spacing: 10) {
AvatarView(community: community.community, avatarSize: 48)
VStack(alignment: .leading, spacing: 4) {
Expand Down
2 changes: 1 addition & 1 deletion Mlem/Views/Tabs/Search/Results/UserResultView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct UserResultView: View {
}

var body: some View {
NavigationLink(value: NavigationRoute.apiPerson(user.user)) {
NavigationLink(value: AppRoute.apiPerson(user.user)) {
HStack(spacing: 10) {
AvatarView(user: user.user, avatarSize: 48)
VStack(alignment: .leading, spacing: 4) {
Expand Down
2 changes: 1 addition & 1 deletion Mlem/Views/Tabs/Search/SearchRoot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct SearchRoot: View {

@Environment(\.tabSelectionHashValue) private var selectedTagHashValue
@Environment(\.tabNavigationSelectionHashValue) private var selectedNavigationTabHashValue
@StateObject private var searchRouter: NavigationRouter<NavigationRoute> = .init()
@StateObject private var searchRouter: AnyNavigationPath<AppRoute> = .init()

var body: some View {
NavigationStack(path: $searchRouter.path) {
Expand Down

0 comments on commit 0df4cf1

Please sign in to comment.