From d718580d7fbbe5e497f4b15ed85bd0a9b7a1877b Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Thu, 25 Apr 2024 11:00:37 +0100 Subject: [PATCH] Fix return --- app/app_xdg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app_xdg.go b/app/app_xdg.go index 8206fbb873..a40d54b7d1 100644 --- a/app/app_xdg.go +++ b/app/app_xdg.go @@ -25,7 +25,7 @@ var currentVariant atomic.Value func defaultVariant() fyne.ThemeVariant { val := currentVariant.Load() if val == nil { - return nil + return theme.VariantDark } return val.(fyne.ThemeVariant)