Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 36ffc22

Browse files
committed
Make StatsPostingStreakInsight Equatable
1 parent 3bef1cb commit 36ffc22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPressKit/Insights/StatsPostingStreakInsight.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct StatsPostingStreakInsight {
1+
public struct StatsPostingStreakInsight: Equatable {
22
public let currentStreakStart: Date
33
public let currentStreakEnd: Date
44
public let currentStreakLength: Int
@@ -27,7 +27,7 @@ public struct StatsPostingStreakInsight {
2727
}
2828
}
2929

30-
public struct PostingStreakEvent {
30+
public struct PostingStreakEvent: Equatable {
3131
public let date: Date
3232
public let postCount: Int
3333

0 commit comments

Comments
 (0)