Fix NullPointerException
This commit is contained in:
parent
5e2235cef7
commit
86df1852ed
@ -106,7 +106,7 @@ class AppItemVM(
|
|||||||
|
|
||||||
fun openNotification(notification: StatusBarNotification) {
|
fun openNotification(notification: StatusBarNotification) {
|
||||||
try {
|
try {
|
||||||
notification.notification.contentIntent.send()
|
notification.notification.contentIntent?.send()
|
||||||
} catch (e: PendingIntent.CanceledException) {}
|
} catch (e: PendingIntent.CanceledException) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user