Skip to content

Commit

Permalink
undo unintentional fyne_demo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Apr 5, 2024
1 parent f4c0072 commit 77b6e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/fyne_demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ func makeNav(setTutorial func(tutorial tutorials.Tutorial), loadPrevious bool) f

themes := container.NewGridWithColumns(2,
widget.NewButton("Dark", func() {
//a.Settings().SetTheme(&forcedVariant{Theme: theme.DefaultTheme(), variant: theme.VariantDark})
a.Settings().SetTheme(&forcedVariant{Theme: theme.DefaultTheme(), variant: theme.VariantDark})
}),
widget.NewButton("Light", func() {
//a.Settings().SetTheme(&forcedVariant{Theme: theme.DefaultTheme(), variant: theme.VariantLight})
a.Settings().SetTheme(&forcedVariant{Theme: theme.DefaultTheme(), variant: theme.VariantLight})
}),
)

Expand Down

0 comments on commit 77b6e42

Please sign in to comment.