Modif patch pour que ce soit mieux
continuous-integration/drone/push Build is passing Details

pull/116/head
Hugo LIVET 2 years ago
parent c930afdf9c
commit 81201329d3

@ -8,7 +8,7 @@
Shell.NavBarIsVisible="False">
<ShellContent
ContentTemplate="{DataTemplate local:MainPage_Windows}"
ContentTemplate="{DataTemplate local:MainPage}"
Route="Inscription" />
</Shell>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.MainPage_Windows"
x:Class="IHM.Desktop.MainPage"
Title="MainPage_Windows">
<StackLayout BackgroundColor="{StaticResource Primary}">

@ -3,10 +3,10 @@ using System.Windows.Input;
namespace IHM.Desktop;
public partial class MainPage_Windows : ContentPage
public partial class MainPage : ContentPage
{
public Manager Mgr => (App.Current as App).Manager;
public MainPage_Windows()
public MainPage()
{
InitializeComponent();
BindingContext = this;

@ -80,6 +80,9 @@
<Compile Update="AppShellDesktop.xaml.cs">
<DependentUpon>AppShellDesktop.xaml</DependentUpon>
</Compile>
<Compile Update="Desktop\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
@ -104,7 +107,7 @@
<MauiXaml Update="Inscription.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Desktop\MainPage_Windows.xaml">
<MauiXaml Update="Desktop\MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>

Loading…
Cancel
Save