avalonia:use icon everywhere

This commit is contained in:
Royce551 2021-05-09 20:12:27 -05:00
parent 138b8c9cf7
commit 1deb1c84eb
4 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,5 @@
using System;
using FRESHMusicPlayer.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -6,8 +7,8 @@ using System.Threading.Tasks;
namespace FRESHMusicPlayer.Handlers.Configuration
{
public class ConfigurationFile
{
public class ConfigurationFile : ViewModelBase
{ // this is technically a Model but who cares!
/// <summary>
/// The ISO language code for the current language, or "automatic" to use the system default.
/// </summary>

View file

@ -5,7 +5,7 @@
xmlns:vm="using:FRESHMusicPlayer.ViewModels"
mc:Ignorable="d" SizeToContent="Height" Width="450"
x:Class="FRESHMusicPlayer.Views.MessageBox"
Title="{Binding Title}">
Icon="/Assets/icon.ico" Title="{Binding Title}">
<Window.DataContext>
<vm:MessageBoxViewModel/>

View file

@ -6,7 +6,7 @@
mc:Ignorable="d" Width="500" Height="400"
xmlns:svg="clr-namespace:Avalonia.Svg.Skia;assembly=Avalonia.Svg.Skia"
x:Class="FRESHMusicPlayer.Views.QueueManagement" Closing="OnClosing"
Title="QueueManagement">
Icon="/Assets/icon.ico" Title="QueueManagement">
<Window.DataContext>
<vm:QueueManagementViewModel/>
</Window.DataContext>

View file

@ -6,7 +6,7 @@
mc:Ignorable="d"
Width="600" Height="400"
x:Class="FRESHMusicPlayer.Views.Settings"
Title="FRESHMusicPlayer Settings">
Icon="/Assets/icon.ico" Title="FRESHMusicPlayer Settings">
<Window.DataContext>
<vm:SettingsViewModel/>