Skip to content

Commit a6390e1

Browse files
committed
chore: remove unnecessary setVehicleState method from DeliveryDriverController on iOS
1 parent 3a616d3 commit a6390e1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ios/DeliveryDriverController.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ - (void)createDeliveryDriverInstance:(NSString *)providerId vehicleId:(NSString
5353
lmfsEventDispatch = [DriverEventDispatcher allocWithZone:nil];
5454
}
5555

56-
- (void)setVehicleState:(BOOL)isOnline {
57-
if (isOnline) {
58-
[_vehicleReporter updateVehicleState:GMTDVehicleStateOnline];
59-
} else {
60-
[_vehicleReporter updateVehicleState:GMTDVehicleStateOffline];
61-
}
62-
}
63-
6456
- (void)setLocationTrackingEnabled:(BOOL)isEnabled {
6557
[_vehicleReporter setLocationTrackingEnabled:isEnabled];
6658
}

0 commit comments

Comments
 (0)