From 7591b45ffa9e71c4b330bf83bfa6348918e4014c Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 17 May 2021 19:50:12 +1000 Subject: [PATCH] [windows] fix for no windows config --- v2/internal/ffenestri/ffenestri_windows.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/v2/internal/ffenestri/ffenestri_windows.go b/v2/internal/ffenestri/ffenestri_windows.go index e96bf68bb..f13c5fa84 100644 --- a/v2/internal/ffenestri/ffenestri_windows.go +++ b/v2/internal/ffenestri/ffenestri_windows.go @@ -15,6 +15,9 @@ import "C" func (a *Application) processPlatformSettings() error { config := a.config.Windows + if config == nil { + return nil + } // Check if the webview should be transparent if config.WebviewIsTransparent {