mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-22 13:58:08 +00:00
Skip unsupported notifications (#35)
This commit is contained in:
parent
79febd92e7
commit
c9c0bda69e
1 changed files with 5 additions and 3 deletions
|
@ -80,9 +80,11 @@ public struct NotificationsListView: View {
|
|||
message: "Notifications? What notifications? Your notification inbox is looking so empty. Keep on being awesome! 📱😎")
|
||||
} else {
|
||||
ForEach(notifications) { notification in
|
||||
NotificationRowView(notification: notification)
|
||||
Divider()
|
||||
.padding(.vertical, .dividerPadding)
|
||||
if notification.supportedType != nil {
|
||||
NotificationRowView(notification: notification)
|
||||
Divider()
|
||||
.padding(.vertical, .dividerPadding)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue