summaryrefslogtreecommitdiff
path: root/Example Apps/Example ObjC/VehicleDataManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Example Apps/Example ObjC/VehicleDataManager.m')
-rw-r--r--Example Apps/Example ObjC/VehicleDataManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Example Apps/Example ObjC/VehicleDataManager.m b/Example Apps/Example ObjC/VehicleDataManager.m
index 1ec3139f9..cc2ee46fa 100644
--- a/Example Apps/Example ObjC/VehicleDataManager.m
+++ b/Example Apps/Example ObjC/VehicleDataManager.m
@@ -111,7 +111,7 @@ NS_ASSUME_NONNULL_BEGIN
return;
}
- SDLOnVehicleData *onVehicleData = (SDLOnVehicleData *)notification;
+ SDLOnVehicleData *onVehicleData = (SDLOnVehicleData *)notification.notification;
self.vehicleOdometerData = [NSString stringWithFormat:@"%@: %@ km", VehicleDataOdometerName, onVehicleData.odometer];
if (!self.refreshUIHandler) { return; }