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.

440 B
Raw Blame
import 'package:appflowy/shared/feature_flags.dart';
import 'package:flutter/foundation.dart';

import '../startup.dart';

class FeatureFlagTask extends LaunchTask {
  const FeatureFlagTask();

  @override
  Future<void> initialize(LaunchContext context) async {
    await super.initialize(context);

    // the hotkey manager is not supported on mobile
    if (!kDebugMode) {
      return;
    }

    await FeatureFlag.initialize();
  }
}