Improved app detail view

This commit is contained in:
Fabian Thies
2022-12-12 19:15:16 +01:00
parent d1e6ddd435
commit 4a3343fe61
3 changed files with 13 additions and 2 deletions

View File

@@ -30,3 +30,9 @@ struct AppIconView: View {
}
}
extension AppIconView: Equatable {
/// Prevent re-rendering of the view if the parameters didn't change
static func == (lhs: AppIconView, rhs: AppIconView) -> Bool {
lhs.iconUrl == rhs.iconUrl && lhs.cornerRadius == rhs.cornerRadius
}
}