Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Closes #108. Show the proper accessoryType for shared URLs.
Browse files Browse the repository at this point in the history
Properly show the correct accessoryType for TTNavigationModeShare
navigation modes. We only show the right arrow for Create and Share
modes, as Modal and External do not result in the correctly implied
animation.
  • Loading branch information
jverkoey committed Nov 27, 2009
1 parent 9d654d2 commit c176bf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TTTableItemCell.m
Expand Up @@ -71,7 +71,8 @@ - (void)setObject:(id)object {
navigationModeForURL:item.URL];
if (item.accessoryURL) {
self.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
} else if (navigationMode == TTNavigationModeCreate) {
} else if (navigationMode == TTNavigationModeCreate ||
navigationMode == TTNavigationModeShare) {
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
} else {
self.accessoryType = UITableViewCellAccessoryNone;
Expand Down

0 comments on commit c176bf9

Please sign in to comment.