Skip unsupported notifications (#35)
This commit is contained in:
parent
79febd92e7
commit
c9c0bda69e
|
@ -80,11 +80,13 @@ public struct NotificationsListView: View {
|
|||
message: "Notifications? What notifications? Your notification inbox is looking so empty. Keep on being awesome! 📱😎")
|
||||
} else {
|
||||
ForEach(notifications) { notification in
|
||||
if notification.supportedType != nil {
|
||||
NotificationRowView(notification: notification)
|
||||
Divider()
|
||||
.padding(.vertical, .dividerPadding)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch nextPageState {
|
||||
case .none:
|
||||
|
|
Loading…
Reference in New Issue