d11f0e46c0
clean up and fixes - Heute gefixt - Code Cleanup NotificationScheduleItemViewModel -fixed NotificationScheduleItemViewModel for Windows compat push implementation Push fixes Push benachrichtungen eingebaut - Status bei push - Push auch in background - Toggle für symtome angepasst push system change exporter update Optionen fix - Optionen aufgeteilt auf 3 tabs - Anpassungen haben jetzt Farbslider Optimierung fix
23 lines
613 B
C#
23 lines
613 B
C#
using cfs_tracker.Helpers;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace cfs_tracker.ViewModels;
|
|
|
|
public partial class AppearanceColorItemViewModel : ObservableObject
|
|
{
|
|
public string Key { get; init; } = string.Empty;
|
|
public string Title { get; init; } = string.Empty;
|
|
public string Fallback { get; init; } = "#000000";
|
|
|
|
[ObservableProperty]
|
|
private string value = string.Empty;
|
|
|
|
[ObservableProperty]
|
|
private Color previewColor = Colors.Transparent;
|
|
|
|
partial void OnValueChanged(string value)
|
|
{
|
|
PreviewColor = ColorUtility.ParseColor(value, Fallback);
|
|
}
|
|
}
|