mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-01 16:05:42 +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)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class ItemDetailPage : ContentPage
|
public partial class ItemDetailPage : ContentPage
|
||||||
{
|
{
|
||||||
|
public MainViewModel Main
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return DependencyService.Get<MainViewModel>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ItemDetailViewModel viewModel;
|
ItemDetailViewModel viewModel;
|
||||||
|
|
||||||
public ItemDetailPage(ItemDetailViewModel itemVM)
|
public ItemDetailPage(ItemDetailViewModel itemVM)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<mdview:MarkdownView
|
<mdview:MarkdownView
|
||||||
Theme="{StaticResource MonsterMarkdownTheme}"
|
Theme="{StaticResource MonsterMarkdownTheme}"
|
||||||
Markdown="{Binding BindingContext.Items.Header, Source={x:Reference This}}"
|
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.Header>
|
||||||
<ListView.ItemTemplate>
|
<ListView.ItemTemplate>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ namespace AideDeJeu.Views
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class ItemsPage : ContentPage
|
public partial class ItemsPage : ContentPage
|
||||||
{
|
{
|
||||||
MainViewModel Main
|
public MainViewModel Main
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue