mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Update settings
This commit is contained in:
@@ -10,23 +10,23 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
{
|
||||
public EspressoProperties()
|
||||
{
|
||||
IsEnabled = new BoolProperty();
|
||||
KeepDisplayOn = new BoolProperty();
|
||||
Mode = EspressoMode.INDEFINITE;
|
||||
TimeAllocation = new IntProperty();
|
||||
Hours = new IntProperty();
|
||||
Minutes = new IntProperty();
|
||||
}
|
||||
|
||||
[JsonPropertyName("espresso_is_enabled")]
|
||||
public BoolProperty IsEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("espresso_keep_display_on")]
|
||||
public BoolProperty KeepDisplayOn { get; set; }
|
||||
|
||||
[JsonPropertyName("espresso_mode")]
|
||||
public EspressoMode Mode { get; set; }
|
||||
|
||||
[JsonPropertyName("espresso_time_allocation")]
|
||||
public IntProperty TimeAllocation { get; set; }
|
||||
[JsonPropertyName("espresso_hours")]
|
||||
public IntProperty Hours { get; set; }
|
||||
|
||||
[JsonPropertyName("espresso_minutes")]
|
||||
public IntProperty Minutes { get; set; }
|
||||
}
|
||||
|
||||
public enum EspressoMode
|
||||
|
||||
Reference in New Issue
Block a user