-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppShell.xaml
More file actions
32 lines (30 loc) · 1.2 KB
/
AppShell.xaml
File metadata and controls
32 lines (30 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="DiscordWebhookRemoteApp.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DiscordWebhookRemoteApp"
xmlns:pages="clr-namespace:DiscordWebhookRemoteApp.Components.Pages"
xmlns:services="clr-namespace:DiscordWebhookRemoteApp.Services"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
Shell.FlyoutBehavior="Disabled">
<Shell.ToolbarItems>
<ToolbarItem Clicked="Support_Clicked" IconImageSource="hearticon.png" />
<ToolbarItem Clicked="Discord_Clicked" IconImageSource="discordlogo.png" />
</Shell.ToolbarItems>
<ShellContent
NavigationPage.HasNavigationBar="True"
Route="MainPage"
Shell.BackgroundColor="{x:Static services:AppThemeColors.BackgroundColor}">
<ShellContent.ContentTemplate>
<DataTemplate>
<pages:MainPage />
</DataTemplate>
</ShellContent.ContentTemplate>
</ShellContent>
<!--<Shell.FlyoutContent>
<StackLayout>
<Label Text="TEST" />
</StackLayout>
</Shell.FlyoutContent>-->
</Shell>