From 2350a19137c332b4af52e728207e3203d5f7e2d8 Mon Sep 17 00:00:00 2001 From: Jonathing Date: Sat, 15 Jun 2024 06:33:00 -0400 Subject: [PATCH] Change the default background to black (#25) * change background color to black If the page doesn't load fast enough, a white screen will show on the desktop because the default backgroundColor is white. Changing it to black makes the screen easier on the eyes before the HTML page is pre-loaded. * ignore build folder generated by build.sh --- .gitignore | 2 ++ package/contents/ui/main.qml | 1 + 2 files changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a774788 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build + diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml index 7a7733f..8a8a122 100644 --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -27,6 +27,7 @@ WallpaperItem { anchors.fill: parent url: wallpaper.configuration.DisplayPage zoomFactor: wallpaper.configuration.ZoomFactor + backgroundColor: "black" onCertificateError: function (error) { if (wallpaper.configuration.InsecureHTTPS) { error.acceptCertificate()