Update Google Photos image

This commit is contained in:
Jaex 2022-01-03 07:21:35 +03:00
parent a460e7700c
commit 619f30fab1
6 changed files with 11 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -37,7 +37,7 @@ public class GooglePhotosImageUploaderService : ImageUploaderService
{
public override ImageDestination EnumValue { get; } = ImageDestination.Picasa;
public override Icon ServiceIcon => Resources.GooglePhotos;
public override Image ServiceImage => Resources.GooglePhotos;
public override bool CheckConfig(UploadersConfig config)
{

View file

@ -19,7 +19,7 @@ namespace ShareX.UploadersLib.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@ -331,12 +331,12 @@ internal class Resources {
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Icon GooglePhotos {
internal static System.Drawing.Bitmap GooglePhotos {
get {
object obj = ResourceManager.GetObject("GooglePhotos", resourceCulture);
return ((System.Drawing.Icon)(obj));
return ((System.Drawing.Bitmap)(obj));
}
}

View file

@ -338,9 +338,6 @@ Created folders:</value>
<data name="OAuthControl_OAuthControl_PasteVerificationCodeHere" xml:space="preserve">
<value>Paste verification code here</value>
</data>
<data name="GooglePhotos" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\GooglePhotos.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="UploadersConfigForm_ConnectSFTPAccount_Key_file_not_found" xml:space="preserve">
<value>Key file does not exist.</value>
</data>
@ -446,4 +443,7 @@ Created folders:</value>
<data name="Error" xml:space="preserve">
<value>Error</value>
</data>
<data name="GooglePhotos" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\favicons\googlephotos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View file

@ -1059,7 +1059,6 @@
<None Include="Favicons\AzureStorage.png" />
<None Include="Favicons\Plik.ico" />
<None Include="Favicons\Gfycat.png" />
<None Include="Favicons\GooglePhotos.ico" />
<None Include="Favicons\BackblazeB2.ico" />
<None Include="Favicons\Firebase.ico" />
<None Include="Favicons\YouTube.ico" />
@ -1094,6 +1093,9 @@
<ItemGroup>
<None Include="Favicons\ZeroWidthShortener.png" />
</ItemGroup>
<ItemGroup>
<None Include="Favicons\GooglePhotos.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>