mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
#1298 run changed files through codemaid
This commit is contained in:
parent
271ca6d660
commit
884eb04873
4 changed files with 54 additions and 53 deletions
|
@ -23,6 +23,12 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using CG.Web.MegaApiClient;
|
||||
using ShareX.HelpersLib;
|
||||
using ShareX.UploadersLib.FileUploaders;
|
||||
|
@ -30,12 +36,6 @@ You should have received a copy of the GNU General Public License
|
|||
using ShareX.UploadersLib.ImageUploaders;
|
||||
using ShareX.UploadersLib.Properties;
|
||||
using ShareX.UploadersLib.TextUploaders;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX.UploadersLib
|
||||
{
|
||||
|
|
|
@ -25,10 +25,10 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
// Credits: https://github.com/DanielMcAssey
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ShareX.UploadersLib.ImageUploaders
|
||||
{
|
||||
|
@ -81,7 +81,8 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
}
|
||||
result.URL = "https://i1." + host + "/" + filename + ".jpg";
|
||||
}
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
result.URL = jsonResponse.imagelink;
|
||||
}
|
||||
|
|
|
@ -23,14 +23,14 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CG.Web.MegaApiClient;
|
||||
using ShareX.HelpersLib;
|
||||
using ShareX.UploadersLib.FileUploaders;
|
||||
using ShareX.UploadersLib.HelperClasses;
|
||||
using ShareX.UploadersLib.ImageUploaders;
|
||||
using ShareX.UploadersLib.TextUploaders;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ShareX.UploadersLib
|
||||
{
|
||||
|
|
|
@ -23,6 +23,14 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using ShareX.HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using ShareX.UploadersLib;
|
||||
|
@ -32,14 +40,6 @@ You should have received a copy of the GNU General Public License
|
|||
using ShareX.UploadersLib.ImageUploaders;
|
||||
using ShareX.UploadersLib.TextUploaders;
|
||||
using ShareX.UploadersLib.URLShorteners;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue