diff options
-rw-r--r-- | Example Apps/Example ObjC/VehicleDataManager.m | 2 |
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; } |