summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 8302155..20ee049 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ func main() {
type State struct {
sync.Mutex
- Config GlobalConfig
+ Config Config
Theme *material.Theme
Title string
UrlEditor widget.Editor
@@ -53,7 +53,7 @@ type Ui struct {
State State
}
-func NewUi(config GlobalConfig) *Ui {
+func NewUi(config Config) *Ui {
ui := Ui{}
ui.State.Config = config