From 4c400c03b8729b88322db260ac26c6e619f75535 Mon Sep 17 00:00:00 2001 From: Mario Steele Date: Fri, 1 Aug 2025 22:06:16 -0500 Subject: [PATCH] Created AppViewModel Created AppViewModel to handle System Tray Icon, and Tooltip. --- FreeTubeSyncer/Models/AppViewModel.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/FreeTubeSyncer/Models/AppViewModel.cs b/FreeTubeSyncer/Models/AppViewModel.cs index bad9266..bed3056 100644 --- a/FreeTubeSyncer/Models/AppViewModel.cs +++ b/FreeTubeSyncer/Models/AppViewModel.cs @@ -1,6 +1,10 @@ +using Avalonia.Controls; +using CommunityToolkit.Mvvm.ComponentModel; + namespace FreeTubeSyncer.Models; -public class AppViewModel +public partial class AppViewModel : ObservableObject { - + [ObservableProperty] private WindowIcon? _appIcon; + [ObservableProperty] private string _hintTooltip = "FreeTube Syncer"; } \ No newline at end of file