Skip to content

Commit

Permalink
Fixed hardcoded service type
Browse files Browse the repository at this point in the history
  • Loading branch information
keeshux committed Oct 18, 2015
1 parent 5ce5b51 commit 9f1b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/Macros/KSMacrosSharing.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void KSSharingFacebookOpenPage(NSString *pageId, NSString *fallbackURL)

static inline void KSSharingPostStatus(UIViewController *controller, NSString *serviceType, NSString *status, UIImage *image)
{
SLComposeViewController *composer = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
SLComposeViewController *composer = [SLComposeViewController composeViewControllerForServiceType:serviceType];
[composer setInitialText:status];
if (image) {
[composer addImage:image];
Expand Down

0 comments on commit 9f1b98b

Please sign in to comment.