refactor: cleaup and implemented mvvm

This commit is contained in:
tux
2025-07-05 06:18:00 +05:30
parent 896b2a9f40
commit 7ffdfea18f
13 changed files with 249 additions and 210 deletions

View File

@@ -0,0 +1,12 @@
using CommunityToolkit.Mvvm.ComponentModel;
namespace highminded.models;
public partial class SettingsViewModel : ObservableObject
{
[ObservableProperty] private string _model = "";
[ObservableProperty] private string _apiUrl = "";
[ObservableProperty] private string _apiKey = "";
[ObservableProperty] private string _screenshotPrompt = "";
[ObservableProperty] private string _audioPrompt = "";
}