Skip to content

Commit

Permalink
dropped C# 8
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMisiukevich committed Oct 28, 2020
1 parent e9079d2 commit e5b73db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion TouchEffect/TouchEffect.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions TouchEffect/TouchVisualManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ internal void SetCustomAnimationTask(Func<TouchEff, TouchState, HoverState, int,
internal void Reset()
{
SetCustomAnimationTask(null);
_defaultBackgroundColor = default;
_defaultBackgroundColor = default(Color);
}

internal void OnTapped(TouchEff sender)
Expand Down Expand Up @@ -264,7 +264,7 @@ private async Task SetBackgroundColorAsync(TouchEff sender, TouchState touchStat
}

var control = sender.Control;
if (_defaultBackgroundColor == default)
if (_defaultBackgroundColor == default(Color))
_defaultBackgroundColor = control.BackgroundColor;

var color = GetBackgroundColor(regularBackgroundColor);
Expand Down

0 comments on commit e5b73db

Please sign in to comment.