mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
Correctif
This commit is contained in:
parent
26cedfe7c5
commit
f56822dd65
3 changed files with 10 additions and 2 deletions
|
|
@ -11,6 +11,14 @@ namespace AideDeJeu.Views
|
|||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ItemDetailPage : ContentPage
|
||||
{
|
||||
public MainViewModel Main
|
||||
{
|
||||
get
|
||||
{
|
||||
return DependencyService.Get<MainViewModel>();
|
||||
}
|
||||
}
|
||||
|
||||
ItemDetailViewModel viewModel;
|
||||
|
||||
public ItemDetailPage(ItemDetailViewModel itemVM)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<mdview:MarkdownView
|
||||
Theme="{StaticResource MonsterMarkdownTheme}"
|
||||
Markdown="{Binding BindingContext.Items.Header, Source={x:Reference This}}"
|
||||
NavigateToLinkCommand="{Binding BindingContext.Main.Navigation.NavigateToLinkCommand, Source={x:Reference This}}"
|
||||
NavigateToLinkCommand="{Binding Main.Navigator.NavigateToLinkCommand, Source={x:Reference This}}"
|
||||
/>
|
||||
</ListView.Header>
|
||||
<ListView.ItemTemplate>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace AideDeJeu.Views
|
|||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ItemsPage : ContentPage
|
||||
{
|
||||
MainViewModel Main
|
||||
public MainViewModel Main
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue