summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r--Xamarin.Forms.Controls/App.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Controls/App.cs b/Xamarin.Forms.Controls/App.cs
index e5a6432a..e56e635a 100644
--- a/Xamarin.Forms.Controls/App.cs
+++ b/Xamarin.Forms.Controls/App.cs
@@ -50,7 +50,7 @@ namespace Xamarin.Forms.Controls
return new MasterDetailPage
{
AutomationId = DefaultMainPageId,
- Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red },
+ Master = new ContentPage { Title = "Master", Content = new View { BackgroundColor = Color.Red } },
Detail = CoreGallery.GetMainPage()
};
}