Skip to content

Commit 759ebb3

Browse files
committed
Set version to stable 2.3.0
1 parent 8942ce6 commit 759ebb3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.build/Plugin.Badge.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
22
<metadata>
33
<id>Plugin.Badge</id>
4-
<version>2.3.0-pre.2</version>
4+
<version>2.3.0</version>
55
<title>Tab Badge for Xamarin.Forms</title>
66
<authors>Adrian Seceleanu</authors>
77
<owners>Adrian Seceleanu</owners>

Source/Plugin.Badge.Droid/BadgedTabbedPageRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Plugin.Badge.Droid
1818
{
1919
public class BadgedTabbedPageRenderer : TabbedPageRenderer
2020
{
21-
private const int DeleayBeforeTabAdded = 10;
21+
private const int DelayBeforeTabAdded = 50;
2222
protected readonly Dictionary<Element, BadgeView> BadgeViews = new Dictionary<Element, BadgeView>();
2323
private TabLayout _topTabLayout;
2424
private LinearLayout _topTabStrip;
@@ -134,7 +134,7 @@ private void OnTabRemoved(object sender, ElementEventArgs e)
134134

135135
private async void OnTabAdded(object sender, ElementEventArgs e)
136136
{
137-
await Task.Delay(DeleayBeforeTabAdded);
137+
await Task.Delay(DelayBeforeTabAdded);
138138

139139
if (!(e.Element is Page page))
140140
return;

Source/Sample/Plugin.Badge.Sample/ViewModels/Tab1ViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class Tab1ViewModel : INotifyPropertyChanged
8989
private int _fontIndex;
9090
private int _positionIndex;
9191

92-
public string Count => _count <= 0 ? string.Empty : _count.ToString();
92+
public string Count => _count <= 0 ? null : _count.ToString();
9393

9494
public int CountValue
9595
{

0 commit comments

Comments
 (0)