Permalink
Browse files

Add space after hashtag

  • Loading branch information...
satococoa committed Feb 9, 2013
1 parent e7c3c19 commit 40b3864e0cb3a1f43cfaa9d39050f66e68577bf6
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/friend_controller.rb
  2. +1 −1 app/photos_controller.rb
View
@@ -117,7 +117,7 @@ def open_share(type)
end
if SLComposeViewController.isAvailableForServiceType(service_type)
controller = SLComposeViewController.composeViewControllerForServiceType(service_type).tap do |t|
- t.setInitialText(AppDelegate::HASHTAG)
+ t.setInitialText(AppDelegate::HASHTAG + ' ')
t.addImage(@friend.image)
t.completionHandler = lambda {|result|
dismissModalViewControllerAnimated(true)
View
@@ -143,7 +143,7 @@ def open_album
def open_tweet(image)
if SLComposeViewController.isAvailableForServiceType(SLServiceTypeTwitter)
tweet_controller = SLComposeViewController.composeViewControllerForServiceType(SLServiceTypeTwitter).tap do |t|
- t.setInitialText(AppDelegate::HASHTAG)
+ t.setInitialText(AppDelegate::HASHTAG + ' ')
t.addImage(image)
t.completionHandler = lambda {|result|
dismissModalViewControllerAnimated(true)

0 comments on commit 40b3864

Please sign in to comment.