diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |