diff options
Diffstat (limited to 'Xamarin.Forms.Controls/CoreGallery.cs')
-rw-r--r-- | Xamarin.Forms.Controls/CoreGallery.cs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Xamarin.Forms.Controls/CoreGallery.cs b/Xamarin.Forms.Controls/CoreGallery.cs index bf4fe399..8fd1f7bc 100644 --- a/Xamarin.Forms.Controls/CoreGallery.cs +++ b/Xamarin.Forms.Controls/CoreGallery.cs @@ -96,12 +96,17 @@ namespace Xamarin.Forms.Controls { AutomationId = "TabbedPageRoot"; - BarBackgroundColor = Color.Maroon; - BarTextColor = Color.Yellow; - Device.StartTimer(TimeSpan.FromSeconds(2), () => { - BarBackgroundColor = Color.Default; - BarTextColor = Color.Default; + Device.StartTimer(TimeSpan.FromSeconds(6), () => { + BarBackgroundColor = Color.Maroon; + BarTextColor = Color.Yellow; + + Device.StartTimer(TimeSpan.FromSeconds(6), () => { + BarBackgroundColor = Color.Default; + BarTextColor = Color.Default; + + return false; + }); return false; }); |