Skip to content

Commit

Permalink
optimization code
Browse files Browse the repository at this point in the history
  • Loading branch information
snake.lin committed Oct 19, 2024
1 parent 096541c commit 05acfbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion client/AI.Chat.Copilot/Controls/Chat/Chat.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
xmlns:vm="using:AI.Chat.Copilot.ViewModels"
x:DataType="vm:ChatViewModel"
xmlns:model="using:AI.Chat.Copilot.Domain.Models"
xmlns:showMeTheXaml="clr-namespace:ShowMeTheXaml;assembly=ShowMeTheXaml.Avalonia"
xmlns:dataTemplates="using:AI.Chat.Copilot.DataTemplates"
xmlns:rs="using:AI.Chat.Copilot.Resources"
xmlns:ctxt="clr-namespace:ColorTextBlock.Avalonia;assembly=ColorTextBlock.Avalonia">
Expand Down
5 changes: 2 additions & 3 deletions client/AI.Chat.Copilot/Controls/Models/Models.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
xmlns:sk="clr-namespace:SukiUI.Controls;assembly=SukiUI"
xmlns:vm="using:AI.Chat.Copilot.ViewModels"
x:DataType="vm:ModelsViewModel"
xmlns:local="using:AI.Chat.Copilot.Resources"
xmlns:model="using::AI.Chat.Copilot.Application">
xmlns:local="using:AI.Chat.Copilot.Resources">
<UserControl.Resources>
<local:ModelUpdateDateTagConverter x:Key="ModelUpdateDateTagConverter" />
<local:NextNullConverter x:Key="NextNullConverter" />
Expand Down Expand Up @@ -68,7 +67,7 @@
<TextBlock Text="{Binding Downloads,Mode=TwoWay,Converter={StaticResource NumberToShortStringConverter}}" ToolTip.Tip="{Binding Downloads,Mode=TwoWay}"></TextBlock>
<Label Content="·" VerticalAlignment="Center"></Label>
<materialIcons:MaterialIcon Kind="HeartOutline" Width="25" Height="20"/>
<TextBlock Text="{Binding Likes,Mode=TwoWay,Converter={StaticResource NumberToShortStringConverter}}}"
<TextBlock Text="{Binding Likes,Mode=TwoWay,Converter={StaticResource NumberToShortStringConverter}}"
ToolTip.Tip="{Binding Likes,Mode=TwoWay}"></TextBlock>
</StackPanel>
</Grid>
Expand Down

0 comments on commit 05acfbb

Please sign in to comment.