mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-23 08:01:03 +05:30
refactor: cleaup and implemented mvvm
This commit is contained in:
13
models/MainViewModel.cs
Normal file
13
models/MainViewModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
|
||||
namespace highminded.models;
|
||||
|
||||
public partial class MainViewModel : ObservableObject
|
||||
{
|
||||
[ObservableProperty] private string _appName = "High Minded";
|
||||
[ObservableProperty] private string _hideShortcutKey = "SHIFT + \\";
|
||||
[ObservableProperty] private string _screenshotShortcutKey = "SHIFT + S";
|
||||
[ObservableProperty] private string _audioShortcutKey = "SHIFT + A";
|
||||
[ObservableProperty] private bool _isRecording = false;
|
||||
[ObservableProperty] private bool _isHidden = true;
|
||||
}
|
Reference in New Issue
Block a user