MM-44221: Add admin console setting to enable/disable App Bar (#20224)

* Revert "[MM-39820] Add AppBarEnabled feature flag (#18967)"

This reverts commit ba1b279c5f.

* Add EnableAppBar admin setting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Alejandro García Montoro
2022-05-25 22:53:51 +02:00
коммит произвёл GitHub
родитель ea5bfe3fd9
Коммит b10ff1b1f7
4 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@@ -949,6 +949,7 @@ type ExperimentalSettings struct {
CloudBilling *bool `access:"experimental_features,write_restrictable"`
EnableSharedChannels *bool `access:"experimental_features"`
EnableRemoteClusterService *bool `access:"experimental_features"`
EnableAppBar *bool `access:"experimental_features"`
}
func (s *ExperimentalSettings) SetDefaults() {
@@ -987,6 +988,10 @@ func (s *ExperimentalSettings) SetDefaults() {
if s.EnableRemoteClusterService == nil {
s.EnableRemoteClusterService = NewBool(false)
}
if s.EnableAppBar == nil {
s.EnableAppBar = NewBool(false)
}
}
type AnalyticsSettings struct {