Merge pull request #3 from hoshiizumiya/base

完善并启用主题切换功能
This commit is contained in:
wangdage12
2025-11-24 21:22:09 +08:00
committed by GitHub
4 changed files with 15 additions and 5 deletions

6
.gitignore vendored
View File

@@ -1,4 +1,4 @@
desktop.ini desktop.ini
*.csproj.user *.csproj.user
*.DotSettings.user *.DotSettings.user
@@ -24,4 +24,6 @@ src/Snap.Hutao/Snap.Hutao/Generated Files/
tools/ tools/
src/Snap.Hutao/Snap.Hutao/AppPackages src/Snap.Hutao/Snap.Hutao/AppPackages
/src/Snap.Hutao/Snap.Hutao.Installer/bin
/src/Snap.Hutao/Snap.Hutao.Installer/obj

View File

@@ -1181,6 +1181,9 @@ Space Available: {2}</value>
<data name="ServiceYaeWaitForGameResponseMessage" xml:space="preserve"> <data name="ServiceYaeWaitForGameResponseMessage" xml:space="preserve">
<value>Waiting for game data</value> <value>Waiting for game data</value>
</data> </data>
<data name="UIViewMainTitleBarBackgroundActivityAction" xml:space="preserve">
<value>Background task</value>
</data>
<data name="UIViewPageAvatarPropertyRecommendedAppendProperties" xml:space="preserve"> <data name="UIViewPageAvatarPropertyRecommendedAppendProperties" xml:space="preserve">
<value>Additional Property Recommendation</value> <value>Additional Property Recommendation</value>
</data> </data>
@@ -3989,4 +3992,7 @@ Space Available: {2}</value>
<data name="WindowIdentifyMonitorHeader" xml:space="preserve"> <data name="WindowIdentifyMonitorHeader" xml:space="preserve">
<value>Monitor ID</value> <value>Monitor ID</value>
</data> </data>
<data name="UIViewMainTitleBarInvertTheme" xml:space="preserve">
<value>Invert Theme</value>
</data>
</root> </root>

View File

@@ -4020,4 +4020,7 @@
<data name="WindowIdentifyMonitorHeader" xml:space="preserve"> <data name="WindowIdentifyMonitorHeader" xml:space="preserve">
<value>显示器编号</value> <value>显示器编号</value>
</data> </data>
<data name="UIViewMainTitleBarInvertTheme" xml:space="preserve">
<value>主题切换</value>
</data>
</root> </root>

View File

@@ -79,9 +79,8 @@
<Button <Button
Padding="6" Padding="6"
Command="{Binding InvertAppThemeCommand}" Command="{Binding InvertAppThemeCommand}"
Content="[Dev] Invert Theme" Content="{shuxm:ResourceString Name=UIViewMainTitleBarInvertTheme}"
Style="{ThemeResource SettingButtonStyle}" Style="{ThemeResource SettingButtonStyle}"/>
Visibility="{Binding IsDebug}"/>
<Button <Button
Padding="0" Padding="0"