diff --git a/BookAStar/BookAStar/Pages/DashboardPage.xaml b/BookAStar/BookAStar/Pages/DashboardPage.xaml
index 933000c2..c10fe4a3 100644
--- a/BookAStar/BookAStar/Pages/DashboardPage.xaml
+++ b/BookAStar/BookAStar/Pages/DashboardPage.xaml
@@ -23,9 +23,10 @@
-
+
-
+
+
-
-
-
-
-
-
+
-
-
-
+
+
+
+
-
+
-
-
+
+
diff --git a/BookAStar/BookAStar/Pages/DashboardPage.xaml.cs b/BookAStar/BookAStar/Pages/DashboardPage.xaml.cs
index 8196986a..f33d4004 100644
--- a/BookAStar/BookAStar/Pages/DashboardPage.xaml.cs
+++ b/BookAStar/BookAStar/Pages/DashboardPage.xaml.cs
@@ -23,6 +23,15 @@ namespace BookAStar.Pages
InitializeComponent();
}
+ protected override void OnBindingContextChanged()
+ {
+ base.OnBindingContextChanged();
+ // Assert ((DashboardViewModel)BindingContext!=null)
+ ((DashboardViewModel)BindingContext).UserNameGesture
+ = new RelayGesture( (gesture,arg) => {
+ ShowPage(null, true);
+ });
+ }
public void OnViewPerformerStatus(object sender, EventArgs e)
{
ShowPage(null, true);