File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
frontend/appflowy_flutter/lib/shared Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:appflowy/core/config/kv.dart';
44import 'package:appflowy/core/config/kv_keys.dart' ;
55import 'package:appflowy/startup/startup.dart' ;
66import 'package:collection/collection.dart' ;
7+ import 'package:flutter/foundation.dart' ;
78
89typedef FeatureFlagMap = Map <FeatureFlag , bool >;
910
@@ -83,14 +84,18 @@ enum FeatureFlag {
8384 bool get isOn {
8485 // release this feature in version 0.5.4
8586 if ([
86- FeatureFlag .collaborativeWorkspace,
87- FeatureFlag .membersSettings,
87+ // FeatureFlag.collaborativeWorkspace,
88+ // FeatureFlag.membersSettings,
8889 FeatureFlag .syncDatabase,
8990 FeatureFlag .syncDocument,
9091 ].contains (this )) {
9192 return true ;
9293 }
9394
95+ if (kReleaseMode) {
96+ return false ;
97+ }
98+
9499 if (_values.containsKey (this )) {
95100 return _values[this ]! ;
96101 }
You can’t perform that action at this time.
0 commit comments