fix TitleString

This commit is contained in:
Aigio Liu
2021-10-16 13:26:01 +08:00
parent 5cba8f61e0
commit 2069b2da53
4 changed files with 4 additions and 4 deletions
@@ -38,7 +38,7 @@ namespace System.Application.Services.Implementation
{
if (OperatingSystem2.IsWindows)
{
title ??= Constants.HARDCODED_APP_NAME;
title ??= ThisAssembly.AssemblyTrademark;
// 调用托盘显示通知
notifyIcon.ShowBalloonTip(title, text, ToolTipIcon.None);
}
@@ -60,7 +60,7 @@ namespace System.Application.UI.ViewModels
public MainWindowViewModel()
{
Title = Constants.HARDCODED_APP_NAME;
Title = ThisAssembly.AssemblyTrademark;
IUserManager.Instance.OnSignOut += () =>
{
@@ -83,7 +83,7 @@ namespace System.Application.UI.ViewModels
("All Files", new[] { "*" }),
}),
InitialFileName = DefaultExportAuthFileName,
PickerTitle = Constants.HARDCODED_APP_NAME,
PickerTitle = ThisAssembly.AssemblyTrademark,
});
Path = result?.FullPath;
});
@@ -5,7 +5,7 @@ namespace System.Application.UI.ViewModels
{
partial class TaskBarWindowViewModel
{
public static string TitleString => Constants.HARDCODED_APP_NAME;
public static string TitleString => ThisAssembly.AssemblyTrademark;
public const string CommandExit = "Exit";