Skip to content

Commit

Permalink
set app title from AppConstants.AppNameWithVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
lcarrere committed Dec 8, 2024
1 parent 3a544b9 commit 6fc2010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions LM-Kit-Maestro/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
xmlns:converters="clr-namespace:LMKit.Maestro.Converters"
Shell.FlyoutBehavior="Disabled"
Shell.NavBarIsVisible="False"
Title="Maestro"
Title="{x:Static local:AppConstants.AppNameWithVersion}"
x:DataType="vm:AppShellViewModel"
x:Name="thisShell"
>
Expand All @@ -28,7 +28,7 @@
<!--<Tab BindingContext="{Binding AssistantsTab}" Title="{Binding AssistantsTab.Title}" Route="AssistantsPage">
<ShellContent ContentTemplate="{DataTemplate ui:AssistantsPage}"/>
</Tab>-->

<Tab BindingContext="{Binding ChatTab}" Title="{Binding ChatTab.Title}" Route="ChatPage">
<ShellContent Title="AI Chat" ContentTemplate="{DataTemplate ui:ChatPage}"/>
</Tab>
Expand Down
3 changes: 1 addition & 2 deletions LM-Kit-Maestro/Platforms/Windows/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
x:Class="LMKit.Maestro.WinUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maui="using:Microsoft.Maui"
xmlns:local="using:Maestro.WinUI">
xmlns:maui="using:Microsoft.Maui">
<maui:MauiWinUIApplication.Resources>
<DataTemplate x:Key="MauiAppTitleBarTemplate">
<Grid >
Expand Down

0 comments on commit 6fc2010

Please sign in to comment.