summaryrefslogtreecommitdiff
path: root/http-client/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'http-client/main.go')
-rw-r--r--http-client/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/http-client/main.go b/http-client/main.go
index f8ecb4e..7234bfc 100644
--- a/http-client/main.go
+++ b/http-client/main.go
@@ -10,6 +10,7 @@ import (
"fyne.io/fyne/v2/data/binding"
"fyne.io/fyne/v2/dialog"
"fyne.io/fyne/v2/layout"
+ "fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/widget"
"image/color"
"regexp"
@@ -287,6 +288,7 @@ func startLayout(window fyne.Window, user UserData) {
func main() {
myApp := app.New()
+ myApp.Settings().SetTheme(theme.DarkTheme())
window := myApp.NewWindow("")
window.Resize(fyne.Size{Width: 640, Height: 480})
var user UserData