Skip to content

Commit

Permalink
Replace icon for shared folders #458
Browse files Browse the repository at this point in the history
  • Loading branch information
Marino Faggiana authored and Marino Faggiana committed Jan 16, 2018
1 parent c74d6f1 commit d75ddd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iOSClient/Main/CCMain.m
Original file line number Diff line number Diff line change
Expand Up @@ -4917,10 +4917,10 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

if (metadata.directory) {

if ([shareLink length] > 0)
cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_public"] color:[NCBrandColor sharedInstance].brandElement];
if ([shareUserAndGroup length] > 0)
cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_shared_with_me"] color:[NCBrandColor sharedInstance].brandElement];
if ([shareLink length] > 0)
cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_public"] color:[NCBrandColor sharedInstance].brandElement];

cell.shared.userInteractionEnabled = NO;

Expand Down

0 comments on commit d75ddd2

Please sign in to comment.