Fyne API "app.SettingsSchema"

app.SettingsSchema


import "fyne.io/fyne/app"

Usage

type SettingsSchema

type SettingsSchema struct {
	// these items are used for global settings load
	ThemeName    string  `json:"theme"`
	Scale        float32 `json:"scale"`
	PrimaryColor string  `json:"primary_color"`
}

SettingsSchema is used for loading and storing global settings

func (*SettingsSchema) StoragePath

func (sc *SettingsSchema) StoragePath() string

StoragePath returns the location of the settings storage