-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppShell.xaml
30 lines (27 loc) · 1.23 KB
/
AppShell.xaml
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
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="DiscordToolsApp.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:pages="clr-namespace:DiscordToolsApp.Components.Pages"
xmlns:services="clr-namespace:DiscordToolsApp.Services"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
Shell.BackgroundColor="{x:Static services:AppThemeColors.BackgroundColor}"
Shell.FlyoutBehavior="Disabled"
Shell.NavBarHasShadow="True"
Shell.NavBarIsVisible="True">
<Shell.ToolbarItems>
<ToolbarItem Clicked="Support_Clicked" IconImageSource="hearticon.png" />
<ToolbarItem Clicked="Discord_Clicked" IconImageSource="discordlogo.png" />
</Shell.ToolbarItems>
<Shell.Behaviors>
<toolkit:StatusBarBehavior StatusBarColor="{x:Static services:AppThemeColors.BackgroundColor}" StatusBarStyle="{x:Static services:AppThemeColors.StatusBarStyle}" />
</Shell.Behaviors>
<ShellContent Route="MainPage">
<ShellContent.ContentTemplate>
<DataTemplate>
<pages:MainPage />
</DataTemplate>
</ShellContent.ContentTemplate>
</ShellContent>
</Shell>