Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: disable team workspace (#5099)

Lucas.Xu09f53177680b
diff --git a/frontend/appflowy_flutter/lib/shared/feature_flags.dart b/frontend/appflowy_flutter/lib/shared/feature_flags.dart
index e2a7b64ece..85be9ddaa0 100644
--- a/frontend/appflowy_flutter/lib/shared/feature_flags.dart
+++ b/frontend/appflowy_flutter/lib/shared/feature_flags.dart
@@ -4,6 +4,7 @@ import 'package:appflowy/core/config/kv.dart';
import 'package:appflowy/core/config/kv_keys.dart';
import 'package:appflowy/startup/startup.dart';
import 'package:collection/collection.dart';
+import 'package:flutter/foundation.dart';
typedef FeatureFlagMap = Map<FeatureFlag, bool>;
@@ -83,14 +84,18 @@ enum FeatureFlag {
bool get isOn {
// release this feature in version 0.5.4
if ([
- FeatureFlag.collaborativeWorkspace,
- FeatureFlag.membersSettings,
+ // FeatureFlag.collaborativeWorkspace,
+ // FeatureFlag.membersSettings,
FeatureFlag.syncDatabase,
FeatureFlag.syncDocument,
].contains(this)) {
return true;
}
+ if (kReleaseMode) {
+ return false;
+ }
+
if (_values.containsKey(this)) {
return _values[this]!;
}