mirror of
https://github.com/antonmedv/fx.git
synced 2024-10-05 14:17:35 +03:00
Rename to FX_SHOW_SIZE
As FX_SHOW_SIZE was already introduced in https://github.com/antonmedv/fx/issues/138#issuecomment-1120427068
This commit is contained in:
parent
64eefccd4f
commit
47a996835e
2
theme.go
2
theme.go
@ -68,7 +68,7 @@ func init() {
|
||||
themeId = "1"
|
||||
}
|
||||
|
||||
showSizesValue, ok := os.LookupEnv("FX_SHOWSIZES")
|
||||
showSizesValue, ok := os.LookupEnv("FX_SHOW_SIZE")
|
||||
if ok {
|
||||
showSizesValue := strings.ToLower(showSizesValue)
|
||||
showSizes = showSizesValue == "true" || showSizesValue == "yes" || showSizesValue == "on" || showSizesValue == "1"
|
||||
|
Loading…
Reference in New Issue
Block a user