Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceylo committed Sep 13, 2024
1 parent 9422e62 commit 75b71f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions FAKit/Sources/FAKit/FANotificationPreview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ public struct FANotificationPreview: Hashable, Identifiable, Sendable {
}

public extension FANotificationPreview {
init(_ comment: FANotificationsPage.Header) {
init(_ header: FANotificationsPage.Header) {
self.init(
id: comment.id,
author: comment.author,
displayAuthor: comment.displayAuthor,
title: comment.title,
datetime: comment.datetime,
naturalDatetime: comment.naturalDatetime,
url: comment.url
id: header.id,
author: header.author,
displayAuthor: header.displayAuthor,
title: header.title,
datetime: header.datetime,
naturalDatetime: header.naturalDatetime,
url: header.url
)
}
}

0 comments on commit 75b71f0

Please sign in to comment.