If there is no valid Twitter account found then not use web based Twitter instead show info message box

This commit is contained in:
Jaex 2015-05-02 14:58:40 +03:00
parent 8df6000c6b
commit 0d2632246e

View file

@ -1140,7 +1140,8 @@ public void ShareURL(string url)
} }
else else
{ {
URLHelpers.OpenURL("https://twitter.com/intent/tweet?text=" + encodedUrl); //URLHelpers.OpenURL("https://twitter.com/intent/tweet?text=" + encodedUrl);
MessageBox.Show(Resources.TaskHelpers_TweetMessage_Unable_to_find_valid_Twitter_account_, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
break; break;
case URLSharingServices.Facebook: case URLSharingServices.Facebook: