Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*.perspective
*.perspectivev3
*.mode1v3
*.xcworkspace
*xcuserdata
build
.DS_Store
Classes/ShareKit/SHKConfig.h
6 changes: 6 additions & 0 deletions Classes/ShareKit/SHKConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
#define SHKBitLyLogin @""
#define SHKBitLyKey @""

// Evernote http://www.evernote.com/about/developer/api/
#define SHKEvernoteConsumerKey @""
#define SHKEvernoteSecretKey @""
#define SHKEvernoteUserStoreURL @""
#define SHKEvernoteNetStoreURLBase @""

// ShareMenu Ordering
#define SHKShareMenuAlphabeticalOrder 1 // Setting this to 1 will show list in Alphabetical Order, setting to 0 will follow the order in SHKShares.plist

Expand Down
5 changes: 3 additions & 2 deletions Classes/ShareKit/UI/SHKShareMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,10 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

UISwitch *toggle = (UISwitch *)[cell editingAccessoryView];
[toggle setOn:!toggle.on animated:YES];
BOOL newOn = !toggle.on;
[toggle setOn:newOn animated:YES];

if (toggle.on)
if (newOn)
[exclusions removeObjectForKey:[rowData objectForKey:@"className"]];

else
Expand Down