Skip to content

Commit

Permalink
chore: disable team workspace (#5099)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Apr 9, 2024
1 parent b2f0c4f commit 09f5317
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions frontend/appflowy_flutter/lib/shared/feature_flags.dart
Expand Up @@ -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>;

Expand Down Expand Up @@ -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]!;
}
Expand Down

0 comments on commit 09f5317

Please sign in to comment.