diff --git a/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml b/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml deleted file mode 100644 index ccbf6693..00000000 --- a/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - diff --git a/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml.cs b/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml.cs deleted file mode 100644 index b0ec2c8e..00000000 --- a/Rise Media Player Dev/Dialogs/MusixmatchTokenDialog.xaml.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Rise.App.ViewModels; -using Windows.UI.Xaml.Controls; - -namespace Rise.App.Dialogs -{ - /// - /// A simple setup wizard for Musixmatch API tokens. For use when setting - /// up online lyrics. - /// - public sealed partial class MusixmatchTokenDialog : ContentDialog - { - private SettingsViewModel ViewModel => App.SViewModel; - - public MusixmatchTokenDialog() - { - InitializeComponent(); - } - - private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) - { - ViewModel.MusixmatchLyricsToken = TokenBox.Text; - } - } -} diff --git a/Rise Media Player Dev/Dialogs/SetupDialogContent.xaml.cs b/Rise Media Player Dev/Dialogs/SetupDialogContent.xaml.cs index e62e31a8..5b9b628b 100644 --- a/Rise Media Player Dev/Dialogs/SetupDialogContent.xaml.cs +++ b/Rise Media Player Dev/Dialogs/SetupDialogContent.xaml.cs @@ -37,7 +37,7 @@ private async void PrimaryButton_Click(object sender, RoutedEventArgs e) int progress = ViewModel.SetupProgress; if (progress == 1) { - ViewModel.FetchArtistPictures = true; + ViewModel.FetchOnlineData = true; } else if (progress == 5) { @@ -58,7 +58,7 @@ private async void SecondaryButton_Click(object sender, RoutedEventArgs e) } if (progress == 1) { - ViewModel.FetchArtistPictures = false; + ViewModel.FetchOnlineData = false; } else if (progress == 5) { diff --git a/Rise Media Player Dev/Helpers/MusixmatchHelper.cs b/Rise Media Player Dev/Helpers/MusixmatchHelper.cs index 74375f65..9f2fa94d 100644 --- a/Rise Media Player Dev/Helpers/MusixmatchHelper.cs +++ b/Rise Media Player Dev/Helpers/MusixmatchHelper.cs @@ -1,5 +1,5 @@ -using Rise.Models; -using System; +using System; +using Rise.Models; using System.Threading.Tasks; using Windows.Web.Http; diff --git a/Rise Media Player Dev/Rise.App.csproj b/Rise Media Player Dev/Rise.App.csproj index 84018b52..441d6e1f 100644 --- a/Rise Media Player Dev/Rise.App.csproj +++ b/Rise Media Player Dev/Rise.App.csproj @@ -149,9 +149,6 @@ LibraryPageEditDialog.xaml - - MusixmatchTokenDialog.xaml - SetupDialogContent.xaml @@ -695,10 +692,6 @@ Designer MSBuild:Compile - - Designer - MSBuild:Compile - Designer MSBuild:Compile diff --git a/Rise Media Player Dev/Settings/MediaLibraryPages/MediaLibraryPage.xaml b/Rise Media Player Dev/Settings/MediaLibraryPages/MediaLibraryPage.xaml index d4af4b5c..79effe81 100644 --- a/Rise Media Player Dev/Settings/MediaLibraryPages/MediaLibraryPage.xaml +++ b/Rise Media Player Dev/Settings/MediaLibraryPages/MediaLibraryPage.xaml @@ -3,10 +3,11 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:local1="using:Rise.App" xmlns:markup="using:Rise.Common.Extensions.Markup" - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:Microsoft.Toolkit.Uwp.UI" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:uc="using:Rise.App.UserControls" xmlns:labs="using:CommunityToolkit.Labs.WinUI" mc:Ignorable="d"> @@ -25,8 +26,8 @@ + IsEnabled="False" + HeaderIcon="{ui:FontIcon Glyph=}"> + IsClickEnabled="True" /> - - - - - - - -