summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs
index 4cd6cf5..f943f15 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/DefaultColorToggleTest.cs
@@ -58,7 +58,7 @@ namespace Xamarin.Forms.Controls
static ContentPage SearchBarPage()
{
- var searchbarTextColorDefaultToggle = new Entry() { Text = "Default SearchBar Text Color" };
+ var searchbarTextColorDefaultToggle = new SearchBar() { Text = "Default SearchBar Text Color" };
var searchbarTextColorToggleButton = new Button() { Text = "Toggle SearchBar Color" };
searchbarTextColorToggleButton.Clicked += (sender, args) => {
if (searchbarTextColorDefaultToggle.TextColor.IsDefault)
@@ -73,7 +73,7 @@ namespace Xamarin.Forms.Controls
}
};
- var searchbarPlaceholderColorDefaultToggle = new Entry() { Placeholder = "Default Placeholder Color" };
+ var searchbarPlaceholderColorDefaultToggle = new SearchBar() { Placeholder = "Default Placeholder Color" };
var searchbarPlaceholderToggleButton = new Button() { Text = "Toggle Placeholder Color" };
searchbarPlaceholderToggleButton.Clicked += (sender, args) => {
if (searchbarPlaceholderColorDefaultToggle.PlaceholderColor.IsDefault)