Skip unsupported notifications (#35)
This commit is contained in:
parent
79febd92e7
commit
c9c0bda69e
|
@ -80,9 +80,11 @@ 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
|
||||||
NotificationRowView(notification: notification)
|
if notification.supportedType != nil {
|
||||||
Divider()
|
NotificationRowView(notification: notification)
|
||||||
.padding(.vertical, .dividerPadding)
|
Divider()
|
||||||
|
.padding(.vertical, .dividerPadding)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue