cleanning
This commit is contained in:
parent
613c8fbcd2
commit
412cf54ba4
1 changed files with 9 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using BookAStar.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
|
@ -31,15 +32,19 @@ namespace BookAStar.Pages
|
|||
|
||||
public void OnViewPerformerStatus(object sender, EventArgs e)
|
||||
{
|
||||
App.CurrentApp.ShowAccounts();
|
||||
ShowPage<AccountChooserPage>(null, true);
|
||||
}
|
||||
|
||||
public void OnViewUserQueries(object sender, EventArgs e)
|
||||
{
|
||||
App.CurrentApp.ShowQueries();
|
||||
|
||||
ShowPage<BookQueriesPage>(null, true);
|
||||
}
|
||||
|
||||
private void ShowPage<T>(object [] args, bool animate=false) where T:Page
|
||||
{
|
||||
Resolver.Resolve<INavigationService>().NavigateTo<T>(animate, args);
|
||||
App.MasterPresented = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue