Skip to content

Commit 75b71f0

Browse files
committed
Renaming
1 parent 9422e62 commit 75b71f0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

FAKit/Sources/FAKit/FANotificationPreview.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public struct FANotificationPreview: Hashable, Identifiable, Sendable {
2929
}
3030

3131
public extension FANotificationPreview {
32-
init(_ comment: FANotificationsPage.Header) {
32+
init(_ header: FANotificationsPage.Header) {
3333
self.init(
34-
id: comment.id,
35-
author: comment.author,
36-
displayAuthor: comment.displayAuthor,
37-
title: comment.title,
38-
datetime: comment.datetime,
39-
naturalDatetime: comment.naturalDatetime,
40-
url: comment.url
34+
id: header.id,
35+
author: header.author,
36+
displayAuthor: header.displayAuthor,
37+
title: header.title,
38+
datetime: header.datetime,
39+
naturalDatetime: header.naturalDatetime,
40+
url: header.url
4141
)
4242
}
4343
}

0 commit comments

Comments
 (0)