chore: enable team workspace (#5102)

This commit is contained in:
Lucas.Xu 2024-04-09 20:05:28 +08:00 committed by GitHub
parent ec46a30e6c
commit 34cf4da49e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<FeatureFlag, bool>;
@ -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]!;
}