From 499235adddecf935e9ca86330e389b8d761f92f6 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Sat, 13 Apr 2024 02:01:54 +0300 Subject: [PATCH] Clean up --- YoutubeDownloader/App.axaml.cs | 1 - .../Views/Components/DashboardView.axaml | 4 +- .../Views/Dialogs/AuthSetupView.axaml | 4 +- .../Dialogs/DownloadMultipleSetupView.axaml | 2 +- .../Dialogs/DownloadSingleSetupView.axaml | 2 +- .../Views/Dialogs/MessageBoxView.axaml | 5 +-- .../Views/Dialogs/SettingsView.axaml | 43 ++++--------------- 7 files changed, 17 insertions(+), 44 deletions(-) diff --git a/YoutubeDownloader/App.axaml.cs b/YoutubeDownloader/App.axaml.cs index bbd87ea6b..850ed4138 100644 --- a/YoutubeDownloader/App.axaml.cs +++ b/YoutubeDownloader/App.axaml.cs @@ -5,7 +5,6 @@ using Avalonia.Markup.Xaml; using Avalonia.Media; using Avalonia.Platform; -using Avalonia.Styling; using AvaloniaWebView; using Material.Styles.Themes; using Microsoft.Extensions.DependencyInjection; diff --git a/YoutubeDownloader/Views/Components/DashboardView.axaml b/YoutubeDownloader/Views/Components/DashboardView.axaml index cd320227c..00104fa39 100644 --- a/YoutubeDownloader/Views/Components/DashboardView.axaml +++ b/YoutubeDownloader/Views/Components/DashboardView.axaml @@ -110,7 +110,7 @@ Width="256" Height="256" HorizontalAlignment="Center" - Foreground="{DynamicResource MaterialDesignDivider}" + Foreground="{DynamicResource MaterialDividerBrush}" Kind="Youtube" /> diff --git a/YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml b/YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml index bd3ce743b..5b5410465 100644 --- a/YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml +++ b/YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml @@ -22,7 +22,7 @@ @@ -36,7 +36,7 @@ Width="196" Height="196" HorizontalAlignment="Center" - Foreground="{DynamicResource MaterialDesignDivider}" + Foreground="{DynamicResource MaterialDividerBrush}" Kind="AccountCheck" /> diff --git a/YoutubeDownloader/Views/Dialogs/MessageBoxView.axaml b/YoutubeDownloader/Views/Dialogs/MessageBoxView.axaml index 1fc6dc7aa..c67fa33a8 100644 --- a/YoutubeDownloader/Views/Dialogs/MessageBoxView.axaml +++ b/YoutubeDownloader/Views/Dialogs/MessageBoxView.axaml @@ -4,8 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:dialogs="clr-namespace:YoutubeDownloader.ViewModels.Dialogs" xmlns:system="clr-namespace:System;assembly=System.Runtime" - Width="500" - x:DataType="dialogs:MessageBoxViewModel"> + Width="500"> @@ -25,7 +24,7 @@ + Width="380"> @@ -20,16 +19,12 @@ - + @@ -54,10 +49,7 @@ - + - + - + - + - + - + @@ -179,7 +156,6 @@