Skip to content

Commit

Permalink
Avoid import loop, the imports were not really right anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Nov 6, 2024
1 parent b937d04 commit b30ff77
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/app/theme_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bool isDarkMode();
import "C"
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/internal/theme"
)

// DefaultVariant returns the systems default fyne.ThemeVariant.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/theme_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package app

import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/internal/theme"
)

// DefaultVariant returns the systems default fyne.ThemeVariant.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/theme_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"syscall/js"

"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/internal/theme"
)

// DefaultVariant returns the systems default fyne.ThemeVariant.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/theme_web.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package app

import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/internal/theme"
)

// DefaultVariant returns the systems default fyne.ThemeVariant.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/theme_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"golang.org/x/sys/windows/registry"

"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/internal/theme"
)

const themeRegKey = `SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize`
Expand Down

0 comments on commit b30ff77

Please sign in to comment.