Skip to content

Commit e140aba

Browse files
committed
Merge branch 'issue-3'
2 parents 63be21f + b4a345c commit e140aba

File tree

7 files changed

+29
-18
lines changed

7 files changed

+29
-18
lines changed

Shadows/AssemblyInfo.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<Copyright>Copyright © Sharpnado 2020</Copyright>
6-
<Version>1.0.0</Version>
6+
<Version>1.0.1</Version>
77
<Company>Sharpnado</Company>
88
<Product>Shadows</Product>
99
<Description>Add as many custom shadows as you like to any Xamarin.Forms view (Android, iOS, UWP). Set Color, Opacity, Blur, and Offset for each shadow.</Description>

Shadows/Shadows.Droid/AndroidShadowsRenderer.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ protected override void OnElementChanged(ElementChangedEventArgs<Shadows> e)
3030
}
3131
}
3232

33+
protected override void Dispose(bool disposing)
34+
{
35+
base.Dispose(disposing);
36+
37+
InternalLogger.Debug("Renderer", $"Disposed( disposing: {disposing} )");
38+
if (disposing)
39+
{
40+
_shadowView?.Dispose();
41+
}
42+
}
43+
3344
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
3445
{
3546
base.OnElementPropertyChanged(sender, e);

Shadows/Shadows.Droid/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"WP). Set Color, Opacity, Blur, and Offset for each shadow.")]
1515
[assembly: System.Reflection.AssemblyProduct("Shadows")]
1616
[assembly: System.Reflection.AssemblyCopyright("Copyright © Sharpnado 2020")]
17-
[assembly: System.Reflection.AssemblyVersion("1.0.0")]
18-
[assembly: System.Reflection.AssemblyFileVersion("1.0.0")]
17+
[assembly: System.Reflection.AssemblyVersion("1.0.1")]
18+
[assembly: System.Reflection.AssemblyFileVersion("1.0.1")]
1919

2020

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated by a tool.
4-
// Runtime Version:4.0.30319.42000
3+
// Ce code a été généré par un outil.
4+
// Version du runtime :4.0.30319.42000
55
//
6-
// Changes to this file may cause incorrect behavior and will be lost if
7-
// the code is regenerated.
6+
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
7+
// le code est régénéré.
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

@@ -14,7 +14,7 @@
1414
"WP). Set Color, Opacity, Blur, and Offset for each shadow.")]
1515
[assembly: System.Reflection.AssemblyProduct("Shadows")]
1616
[assembly: System.Reflection.AssemblyCopyright("Copyright © Sharpnado 2020")]
17-
[assembly: System.Reflection.AssemblyVersion("1.0.0")]
18-
[assembly: System.Reflection.AssemblyFileVersion("1.0.0")]
17+
[assembly: System.Reflection.AssemblyVersion("1.0.1")]
18+
[assembly: System.Reflection.AssemblyFileVersion("1.0.1")]
1919

2020

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated by a tool.
4-
// Runtime Version:4.0.30319.42000
3+
// Ce code a été généré par un outil.
4+
// Version du runtime :4.0.30319.42000
55
//
6-
// Changes to this file may cause incorrect behavior and will be lost if
7-
// the code is regenerated.
6+
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
7+
// le code est régénéré.
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

@@ -14,7 +14,7 @@
1414
"WP). Set Color, Opacity, Blur, and Offset for each shadow.")]
1515
[assembly: System.Reflection.AssemblyProduct("Shadows")]
1616
[assembly: System.Reflection.AssemblyCopyright("Copyright © Sharpnado 2020")]
17-
[assembly: System.Reflection.AssemblyVersion("1.0.0")]
18-
[assembly: System.Reflection.AssemblyFileVersion("1.0.0")]
17+
[assembly: System.Reflection.AssemblyVersion("1.0.1")]
18+
[assembly: System.Reflection.AssemblyFileVersion("1.0.1")]
1919

2020

Shadows/Shadows/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"WP). Set Color, Opacity, Blur, and Offset for each shadow.")]
1515
[assembly: System.Reflection.AssemblyProduct("Shadows")]
1616
[assembly: System.Reflection.AssemblyCopyright("Copyright © Sharpnado 2020")]
17-
[assembly: System.Reflection.AssemblyVersion("1.0.0")]
18-
[assembly: System.Reflection.AssemblyFileVersion("1.0.0")]
17+
[assembly: System.Reflection.AssemblyVersion("1.0.1")]
18+
[assembly: System.Reflection.AssemblyFileVersion("1.0.1")]
1919

2020

Sharpnado.Shadows.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<repository type="git" branch="master" url="https://github.com/roubachof/Sharpnado.Shadows" />
1616
<summary>Add as many custom shadows as you like to any Xamarin.Forms view (Android, iOS, UWP). You can set Color, Opacity, Blur, Offset and CornerRadius. Easily achieve neumorphism.</summary>
1717
<tags>xamarin.forms android ios uwp netstandard shadow blur color shadows neumorphism</tags>
18-
<releaseNotes>First release.</releaseNotes>
18+
<releaseNotes>Fix a memory leak on Android.</releaseNotes>
1919
<description>
2020
Add as many custom shadows as you like to any Xamarin.Forms view (Android, iOS, UWP).
2121

0 commit comments

Comments
 (0)