Skip to content

Commit

Permalink
[Feature] update rider disconnect icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
boris committed Jul 13, 2021
1 parent f17e6e2 commit 8b17320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ final class GoogleMapController
private final Bitmap riderLeftStatus;
private final Bitmap riderLostStatus;
private final Bitmap riderPauseStatus;
private final Bitmap riderWeakSignalStatus;

private List<LatLng> navigationPoints;

Expand All @@ -118,9 +117,8 @@ final class GoogleMapController
this.tileOverlaysController = new TileOverlaysController(methodChannel);
this.mgr = context.getAssets();
this.riderLeftStatus = MarkerIconPainter.getBitmapFromAsset(mgr, "common_app/assets/rider_left_png.png", density);
this.riderLostStatus = MarkerIconPainter.getBitmapFromAsset(mgr, "common_app/assets/rider_lost_png.png", density);
this.riderLostStatus = MarkerIconPainter.getBitmapFromAsset(mgr, "common_app/assets/rider_disconnected_png.png", density);
this.riderPauseStatus = MarkerIconPainter.getBitmapFromAsset(mgr, "common_app/assets/rider_pause_png.png", density);
this.riderWeakSignalStatus = MarkerIconPainter.getBitmapFromAsset(mgr, "common_app/assets/rider_weak_signal_png.png", density);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ @implementation FLTGoogleMapController {
UIImage* riderLeftStatus;
UIImage* riderLostStatus;
UIImage* riderPauseStatus;
UIImage* riderWeakSignalStatus;
NSArray<CLLocation*> *navigationPoints;
}

Expand Down Expand Up @@ -114,7 +113,7 @@ - (instancetype)initWithFrame:(CGRect)frame

_markerIconPainter = [[MarkerIconPainter alloc] init:registrar];
riderLeftStatus = [_markerIconPainter getUIImageFromAsset:@"common_app/assets/rider_left_png.png"];
riderLostStatus = [_markerIconPainter getUIImageFromAsset:@"common_app/assets/rider_lost_png.png"];
riderLostStatus = [_markerIconPainter getUIImageFromAsset:@"common_app/assets/rider_disconnected_png.png"];
riderPauseStatus = [_markerIconPainter getUIImageFromAsset:@"common_app/assets/rider_pause_png.png"];
riderWeakSignalStatus = [_markerIconPainter getUIImageFromAsset:@"common_app/assets/rider_weak_signal_png.png"];

Expand Down

0 comments on commit 8b17320

Please sign in to comment.