mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 03:33:36 +01:00
[CHANGE] Fetch news when NewsView appears
This commit is contained in:
committed by
Joe Mattiello
parent
89dea75b84
commit
0c034b61d9
@@ -98,3 +98,11 @@ extension URL: Identifiable {
|
||||
// NewsItemView()
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
extension NewsItemView: Equatable {
|
||||
/// Prevent re-rendering of the view if the parameters didn't change
|
||||
static func == (lhs: NewsItemView, rhs: NewsItemView) -> Bool {
|
||||
lhs.newsItem.identifier == rhs.newsItem.identifier
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user