Hamburger button menu is now a User Control

WIP History in Entry page
This commit is contained in:
BONNEVILLE Geoffroy
2018-06-14 18:38:05 +02:00
parent 799b896bfe
commit 2b48b64f2f
10 changed files with 299 additions and 169 deletions

View File

@@ -79,13 +79,14 @@ namespace ModernKeePass.Views
private void groups_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
var listView = sender as ListView;
GroupVm group;
switch (LeftListView.SelectedIndex)
switch (listView?.SelectedIndex)
{
case -1:
return;
default:
group = LeftListView.SelectedItem as GroupVm;
group = listView?.SelectedItem as GroupVm;
break;
}
Frame.Navigate(typeof(GroupDetailPage), group);