Skip to content

Commit b80490e

Browse files
committed
重构ToastShowWindow类并更新相关文件路径
1 parent ac6898a commit b80490e

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

KitopiaAvalonia/KitopiaAvalonia.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@
124124
<Compile Update="Windows\LongScreenshotProgressWindow.axaml.cs">
125125
<DependentUpon>LongScreenshotProgressWindow.axaml</DependentUpon>
126126
</Compile>
127+
<Compile Update="Services\ToastShowWindow.axaml.cs">
128+
<DependentUpon>ToastShowWindow.axaml</DependentUpon>
129+
<SubType>Code</SubType>
130+
</Compile>
127131
</ItemGroup>
128132
<ItemGroup>
129133
<Folder Include="Converter\MarketPage\"/>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Avalonia.Threading;
99
using Core.Services;
1010
using Core.ViewModel.Windows;
11+
using KitopiaAvalonia.Services;
1112
using PluginCore;
1213
using Serilog;
1314
using Ursa.Controls;

Core.Window/ToastShowWindow.axaml renamed to KitopiaAvalonia/Services/ToastShowWindow.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
6-
x:Class="Core.Window.ToastShowWindow"
6+
x:Class="KitopiaAvalonia.Services.ToastShowWindow"
77

88
CanResize="False"
99

Core.Window/ToastShowWindow.axaml.cs renamed to KitopiaAvalonia/Services/ToastShowWindow.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Avalonia;
99
using Vanara.PInvoke;
1010

11-
namespace Core.Window;
11+
namespace KitopiaAvalonia.Services;
1212

1313
public partial class ToastShowWindow : Avalonia.Controls.Window
1414
{

KitopiaAvalonia/Windows/MainWindow.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
</Panel>
137137
</Border>
138138

139-
<TextBlock Grid.Row="1" Grid.Column="1" Foreground="Gainsboro" Text="{x:Static pluginCore:ServiceManager.Version}" HorizontalAlignment="Right" VerticalAlignment="Bottom"></TextBlock>
139+
<TextBlock Margin="0,0,5,3" Grid.Row="1" Grid.Column="1" Foreground="DarkGray" Text="{x:Static pluginCore:ServiceManager.Version}" HorizontalAlignment="Right" VerticalAlignment="Bottom"></TextBlock>
140140
</Grid>
141141

142142
</Panel>

0 commit comments

Comments
 (0)