fix: use TextBrush instead of hardcoded Brushes.White for auth label

This commit is contained in:
SuperDooper
2026-05-08 14:40:18 +02:00
parent 1172fd8f4e
commit 87ce720a31
+1 -1
View File
@@ -255,7 +255,7 @@ public partial class PopupWindow : Window
var label = new TextBlock var label = new TextBlock
{ {
Text = VM.IsSignedIn ? $"Signed in — {VM.UserEmail}" : "Not signed in", Text = VM.IsSignedIn ? $"Signed in — {VM.UserEmail}" : "Not signed in",
FontSize = 13, FontWeight = FontWeights.SemiBold, Foreground = Brushes.White, FontSize = 13, FontWeight = FontWeights.SemiBold, Foreground = (SolidColorBrush)Application.Current.Resources["TextBrush"],
VerticalAlignment = VerticalAlignment.Center, VerticalAlignment = VerticalAlignment.Center,
}; };
var authRow = new StackPanel { Orientation = Orientation.Horizontal }; var authRow = new StackPanel { Orientation = Orientation.Horizontal };