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! 📱😎")
|
message: "Notifications? What notifications? Your notification inbox is looking so empty. Keep on being awesome! 📱😎")
|
||||||
} else {
|
} else {
|
||||||
ForEach(notifications) { notification in
|
ForEach(notifications) { notification in
|
||||||
|
if notification.supportedType != nil {
|
||||||
NotificationRowView(notification: notification)
|
NotificationRowView(notification: notification)
|
||||||
Divider()
|
Divider()
|
||||||
.padding(.vertical, .dividerPadding)
|
.padding(.vertical, .dividerPadding)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch nextPageState {
|
switch nextPageState {
|
||||||
case .none:
|
case .none:
|
||||||
|
|
Loading…
Reference in New Issue