forgot a file
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"supersonic/backend"
|
"supersonic/backend"
|
||||||
"supersonic/ui"
|
"supersonic/ui"
|
||||||
"supersonic/ui/theme"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"fyne.io/fyne/v2"
|
"fyne.io/fyne/v2"
|
||||||
@@ -27,10 +26,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fyneApp := app.New()
|
fyneApp := app.New()
|
||||||
theme := theme.NewMyTheme(&myApp.Config.Theme)
|
|
||||||
theme.NormalFont = myApp.Config.Application.FontNormalTTF
|
|
||||||
theme.BoldFont = myApp.Config.Application.FontBoldTTF
|
|
||||||
fyneApp.Settings().SetTheme(theme)
|
|
||||||
|
|
||||||
w := float32(myApp.Config.Application.WindowWidth)
|
w := float32(myApp.Config.Application.WindowWidth)
|
||||||
if w <= 1 {
|
if w <= 1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user