mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-23 16:11:02 +05:30
19 lines
436 B
C#
19 lines
436 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using highminded.utils;
|
|
|
|
namespace highminded.ui.controls;
|
|
|
|
public partial class SettingsUserControl : UserControl
|
|
{
|
|
public SettingsUserControl()
|
|
{
|
|
InitializeComponent();
|
|
DataContext = InMemoryDb.Obj.SettingsViewModel;
|
|
}
|
|
|
|
private void SaveSettingsBtn_OnClick(object? sender, RoutedEventArgs e)
|
|
{
|
|
InMemoryDb.Obj.SaveSettings();
|
|
}
|
|
} |