From 34cf4da49e29be725c4615e00657ae860077a041 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 9 Apr 2024 20:05:28 +0800 Subject: [PATCH] chore: enable team workspace (#5102) --- .../appflowy_flutter/lib/shared/feature_flags.dart | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/appflowy_flutter/lib/shared/feature_flags.dart b/frontend/appflowy_flutter/lib/shared/feature_flags.dart index 85be9ddaa0..fcc0644b74 100644 --- a/frontend/appflowy_flutter/lib/shared/feature_flags.dart +++ b/frontend/appflowy_flutter/lib/shared/feature_flags.dart @@ -4,7 +4,6 @@ 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; @@ -82,20 +81,17 @@ enum FeatureFlag { } bool get isOn { - // release this feature in version 0.5.4 if ([ - // FeatureFlag.collaborativeWorkspace, - // FeatureFlag.membersSettings, + // release this feature in version 0.5.5 + FeatureFlag.collaborativeWorkspace, + FeatureFlag.membersSettings, + // release this feature in version 0.5.4 FeatureFlag.syncDatabase, FeatureFlag.syncDocument, ].contains(this)) { return true; } - if (kReleaseMode) { - return false; - } - if (_values.containsKey(this)) { return _values[this]!; }