fix: NotificationManager is a Kotlin object, no getInstance needed
This commit is contained in:
parent
4462bf4cdf
commit
b8d1705c9c
|
|
@ -53,7 +53,7 @@ class ClawdNodeApp : Application() {
|
||||||
// Set up command handlers
|
// Set up command handlers
|
||||||
DirectGateway.onNotificationAction = { notificationId, action, replyText ->
|
DirectGateway.onNotificationAction = { notificationId, action, replyText ->
|
||||||
auditLog.log("COMMAND_RECEIVED", "notification.action: $action on $notificationId")
|
auditLog.log("COMMAND_RECEIVED", "notification.action: $action on $notificationId")
|
||||||
AppNotificationManager.getInstance()?.triggerAction(notificationId, action, replyText)
|
AppNotificationManager.triggerAction(notificationId, action, replyText)
|
||||||
}
|
}
|
||||||
|
|
||||||
DirectGateway.onCallAnswer = { callId ->
|
DirectGateway.onCallAnswer = { callId ->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue