Add devEnableShare config option (#1141)

* add devEnableShare config option

* Toggle in config.js
This commit is contained in:
Yash Jipkate
2021-05-31 01:06:10 +05:30
committed by GitHub
parent 327c259a3d
commit 7b05c49215
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -64,6 +64,7 @@ type configOptions struct {
DevFastAccessCoverArt bool
DevOldCacheLayout bool
DevActivityPanel bool
DevEnableShare bool
}
type scannerOptions struct {
@@ -211,6 +212,7 @@ func init() {
viper.SetDefault("devoldcachelayout", false)
viper.SetDefault("devFastAccessCoverArt", false)
viper.SetDefault("devactivitypanel", true)
viper.SetDefault("devenableshare", false)
}
func InitConfig(cfgFile string) {