Index: src/Notification.cpp |
diff --git a/src/Notification.cpp b/src/Notification.cpp |
index da5ad0f004276d02c5e49929788e454041de2c1d..f7f11eefde72e9082039c0f6426dee50534c7885 100644 |
--- a/src/Notification.cpp |
+++ b/src/Notification.cpp |
@@ -71,14 +71,14 @@ NotificationTexts Notification::GetTexts() |
{ |
JsValueList params; |
params.push_back(shared_from_this()); |
- JsValuePtr jsTexts = jsEngine->Evaluate("API.getNotificationTexts")->Call(params); |
+ JsValue jsTexts = jsEngine->Evaluate("API.getNotificationTexts")->Call(params); |
NotificationTexts notificationTexts; |
- JsValuePtr jsTitle = jsTexts->GetProperty("title"); |
+ JsValuePtr jsTitle = jsTexts.GetProperty("title"); |
if (jsTitle->IsString()) |
{ |
notificationTexts.title = jsTitle->AsString(); |
} |
- JsValuePtr jsMessage = jsTexts->GetProperty("message"); |
+ JsValuePtr jsMessage = jsTexts.GetProperty("message"); |
if (jsMessage->IsString()) |
{ |
notificationTexts.message = jsMessage->AsString(); |