Skip to content

Commit

Permalink
Update the map callout disclosure image. #828
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinner committed Apr 1, 2015
1 parent 8ce83d6 commit 64b53e8
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 25 deletions.
1 change: 1 addition & 0 deletions Common/Constants/MITResourceConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ extern NSString * const MITImageActionArrowRight;

extern NSString * const MITImageNameSearch;
extern NSString * const MITImageDisclosureRight;
extern NSString * const MITImageCalloutDisclosureRight;
extern NSString * const MITImageTransparentPixel;

extern NSString * const MITImageLogoDarkContent;
Expand Down
1 change: 1 addition & 0 deletions Common/Constants/MITResourceConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@

NSString * const MITImageNameSearch = @"global-search";
NSString * const MITImageDisclosureRight = @"global-disclosure_right";
NSString * const MITImageCalloutDisclosureRight = @"global-callout-disclosure";
NSString * const MITImageTransparentPixel = @"global-transparent-pixel";

NSString * const MITImageLogoDarkContent = @"global-mit-logo-light";
Expand Down
4 changes: 2 additions & 2 deletions Common/MapCallout/MITCalloutDefaultContentView.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ - (void)layoutSubviews {
}

- (void)setupAccessoryView {
self.accessoryView = [UIImageView new];
[self.accessoryView setImage:[UIImage imageNamed:@"disclosure-indicator"]];
self.accessoryView = [[UIImageView alloc] init];
self.accessoryView.image = [UIImage imageNamed:MITImageCalloutDisclosureRight];
self.accessoryView.contentMode = UIViewContentModeScaleAspectFit;
self.accessoryView.clipsToBounds = YES;
self.accessoryView.translatesAutoresizingMaskIntoConstraints = NO;
Expand Down
1 change: 1 addition & 0 deletions MIT Mobile Tests/MITApplicationResourceTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ - (void)testAssetCatalog {

MITCheckAsset(MITImageNameSearch);
MITCheckAsset(MITImageDisclosureRight);
MITCheckAsset(MITImageCalloutDisclosureRight);
MITCheckAsset(MITImageTransparentPixel);

MITCheckAsset(MITImageLogoDarkContent);
Expand Down

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 64b53e8

Please sign in to comment.