summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-05-23 16:56:37 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-05-23 16:56:37 -0400
commit7292417f285b42bcf62538f7bac4ca09e70e6ee1 (patch)
tree81dfc018a46c1a598b4f91daee4fc08cbea304de
parent65b66c831b7ef59a7422ecdea2f32a628c4005fc (diff)
downloadsdl_ios-feature/issue_1257_sdlmanager_rpc_subscriptions.tar.gz
-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; }