Fix NullPointerException
This commit is contained in:
@@ -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) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user