Add main settings view and theme management functionality

Introduce a new `MainSettings` view for managing application settings, including language and theme selection. Implement theme management methods in the `setting` package to handle theme initialization, retrieval, and updates.
This commit is contained in:
2025-06-09 00:27:40 +05:00
parent 690f84e2c8
commit fc4e585620
4 changed files with 243 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ type SettingContract interface {
GetFFplayPath() string
SetFFplayPath(path string)
ThemeInit()
GetThemes() map[string]ThemeInfoContract
GetTheme() ThemeInfoContract
SetTheme(themeInfo ThemeInfoContract)
}
type setting struct {