Fix crash when action notification cell doesn't have any statuses
Closes #390
This commit is contained in:
parent
e8305184af
commit
d0a1aec1c0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue