mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-08 16:06:34 +12:00
If there is no valid Twitter account found then not use web based Twitter instead show info message box
This commit is contained in:
parent
8df6000c6b
commit
0d2632246e
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue