mirror of
https://github.com/yaobiao131/downkyicore.git
synced 2025-08-10 00:52:31 +00:00
fix: 优化暗黑模式表现并修复dialog暗黑模式异常问题
This commit is contained in:
@@ -18,28 +18,20 @@ public class ViewDownloadManagerViewModel : ViewModelBase
|
||||
|
||||
#region 页面属性申明
|
||||
|
||||
private VectorImage arrowBack;
|
||||
|
||||
public VectorImage ArrowBack
|
||||
{
|
||||
get => arrowBack;
|
||||
set => SetProperty(ref arrowBack, value);
|
||||
}
|
||||
|
||||
private List<TabHeader> tabHeaders;
|
||||
private List<TabHeader> _tabHeaders;
|
||||
|
||||
public List<TabHeader> TabHeaders
|
||||
{
|
||||
get => tabHeaders;
|
||||
set => SetProperty(ref tabHeaders, value);
|
||||
get => _tabHeaders;
|
||||
set => SetProperty(ref _tabHeaders, value);
|
||||
}
|
||||
|
||||
private int selectTabId;
|
||||
private int _selectTabId;
|
||||
|
||||
public int SelectTabId
|
||||
{
|
||||
get => selectTabId;
|
||||
set => SetProperty(ref selectTabId, value);
|
||||
get => _selectTabId;
|
||||
set => SetProperty(ref _selectTabId, value);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -51,9 +43,6 @@ public class ViewDownloadManagerViewModel : ViewModelBase
|
||||
|
||||
#region 属性初始化
|
||||
|
||||
ArrowBack = NavigationIcon.Instance().ArrowBack;
|
||||
ArrowBack.Fill = DictionaryResource.GetColor("ColorTextDark");
|
||||
|
||||
TabHeaders = new List<TabHeader>
|
||||
{
|
||||
new()
|
||||
@@ -107,7 +96,7 @@ public class ViewDownloadManagerViewModel : ViewModelBase
|
||||
return;
|
||||
}
|
||||
|
||||
NavigationParameters param = new NavigationParameters();
|
||||
var param = new NavigationParameters();
|
||||
|
||||
switch (tabHeader.Id)
|
||||
{
|
||||
@@ -136,7 +125,5 @@ public class ViewDownloadManagerViewModel : ViewModelBase
|
||||
SelectTabId = 0;
|
||||
|
||||
PropertyChangeAsync(() => { regionManager.RequestNavigate("DownloadManagerContentRegion", ViewDownloadingViewModel.Tag, new NavigationParameters()); });
|
||||
|
||||
ArrowBack.Fill = DictionaryResource.GetColor("ColorTextDark");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user