feat(ui): Usage-Monitor zeigt Reset-Uhrzeit hinter der Restzeit
This commit is contained in:
@@ -391,7 +391,9 @@ public sealed partial class UsageGaugeRowViewModel : ObservableObject
|
||||
|
||||
public bool IsWarnSeverity => !string.Equals(Severity, "normal", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
public string ResetText => ResetsAt is { } r ? Loc.T("modals.usageMonitor.resetIn", FormatRemaining(r)) : "";
|
||||
public string ResetText => ResetsAt is { } r
|
||||
? Loc.T("modals.usageMonitor.resetIn", FormatRemaining(r), r.ToLocalTime().ToString("HH:mm"))
|
||||
: "";
|
||||
|
||||
/// <summary>Live values from a fresh snapshot, without replacing the row instance mid-view.</summary>
|
||||
public void Update(string label, double percent, string severity, DateTimeOffset? resetsAt,
|
||||
|
||||
Reference in New Issue
Block a user