From 4377c9a735b43470d8e21036676e71af9e72672b Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Fri, 8 May 2026 21:40:43 +0200 Subject: [PATCH] fix: session diary at bottom; show popup on launch --- windows/PopupWindow.xaml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/PopupWindow.xaml.cs b/windows/PopupWindow.xaml.cs index 2e5b81c..3356278 100644 --- a/windows/PopupWindow.xaml.cs +++ b/windows/PopupWindow.xaml.cs @@ -56,12 +56,12 @@ public partial class PopupWindow : Window foreach (var limit in VM.Limits) CardsPanel.Children.Add(BuildCard(limit)); + if (VM.ExtraUsage?.IsEnabled == true) + CardsPanel.Children.Add(BuildExtraUsageSection()); + var fiveHour = VM.Limits.FirstOrDefault(l => l.Window == WindowKind.FiveHour); if (fiveHour != null && fiveHour.BurnHistory.Count > 0) CardsPanel.Children.Add(BuildDiarySection(fiveHour)); - - if (VM.ExtraUsage?.IsEnabled == true) - CardsPanel.Children.Add(BuildExtraUsageSection()); } private static UIElement BuildCard(AgentLimit limit)