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:
12
models/SettingsViewModel.cs
Normal file
12
models/SettingsViewModel.cs
Normal 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 = "";
|
||||
}
|
Reference in New Issue
Block a user