From 5851faa437c1b060de7ca511b42722dc35b071dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E5=BD=AA?= <1315508912@qq.com> Date: Tue, 12 Dec 2023 00:07:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dui=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DownloadManager/ViewDownloading.axaml | 13 ---- DownKyi/Views/Settings/ViewNetwork.axaml | 30 +++++--- DownKyi/Views/ViewVideoDetail.axaml | 72 +++++++++++++++++++ 3 files changed, 91 insertions(+), 24 deletions(-) diff --git a/DownKyi/Views/DownloadManager/ViewDownloading.axaml b/DownKyi/Views/DownloadManager/ViewDownloading.axaml index 46e8855..d6ff3c5 100644 --- a/DownKyi/Views/DownloadManager/ViewDownloading.axaml +++ b/DownKyi/Views/DownloadManager/ViewDownloading.axaml @@ -104,19 +104,6 @@ FontSize="12" Foreground="{DynamicResource BrushTextDark}" Text="{Binding StringFormat={} {0}, Path=DownloadStatusTitle}"> - - diff --git a/DownKyi/Views/Settings/ViewNetwork.axaml b/DownKyi/Views/Settings/ViewNetwork.axaml index d1457c5..13318cd 100644 --- a/DownKyi/Views/Settings/ViewNetwork.axaml +++ b/DownKyi/Views/Settings/ViewNetwork.axaml @@ -6,7 +6,8 @@ xmlns:prism="http://prismlibrary.com/" prism:ViewModelLocator.AutoWireViewModel="True" xmlns:i="using:Avalonia.Xaml.Interactivity" - xmlns:ia="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions"> + xmlns:ia="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions" + xmlns:iac="clr-namespace:DownKyi.CustomAction"> @@ -17,7 +18,7 @@ + Theme="{StaticResource CheckBoxStyle}" /> + Text="{Binding UserAgent}"> + + + + + + - + @@ -97,7 +105,7 @@ Foreground="{DynamicResource BrushTextDark}" Text="{DynamicResource MaxCurrentDownloads}" /> + CommandParameter="{Binding ElementName=NameMaxCurrentDownloads, Path=SelectedValue}" /> @@ -119,7 +127,7 @@ Foreground="{DynamicResource BrushTextDark}" Text="{DynamicResource Split}" /> + CommandParameter="{Binding ElementName=NameSplits, Path=SelectedValue}" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +