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? {
|
override var accessibilityLabel: String? {
|
||||||
get {
|
get {
|
||||||
let first = group.notifications.first!
|
guard let first = group.notifications.first else {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
var str = ""
|
var str = ""
|
||||||
switch group.kind {
|
switch group.kind {
|
||||||
case .favourite:
|
case .favourite:
|
||||||
|
|
Loading…
Reference in New Issue