Fix crash when action notification cell doesn't have any statuses

Closes #390
This commit is contained in:
Shadowfacts 2023-05-27 15:21:34 -07:00
parent e8305184af
commit d0a1aec1c0
1 changed files with 3 additions and 1 deletions

View File

@ -240,7 +240,9 @@ class ActionNotificationGroupCollectionViewCell: UICollectionViewListCell {
override var accessibilityLabel: String? {
get {
let first = group.notifications.first!
guard let first = group.notifications.first else {
return nil
}
var str = ""
switch group.kind {
case .favourite: