Created AppViewModel
Created AppViewModel to handle System Tray Icon, and Tooltip.
This commit is contained in:
parent
c9c88358c3
commit
4c400c03b8
1 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
|
||||||
namespace FreeTubeSyncer.Models;
|
namespace FreeTubeSyncer.Models;
|
||||||
|
|
||||||
public class AppViewModel
|
public partial class AppViewModel : ObservableObject
|
||||||
{
|
{
|
||||||
|
[ObservableProperty] private WindowIcon? _appIcon;
|
||||||
|
[ObservableProperty] private string _hintTooltip = "FreeTube Syncer";
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue