From c4cdcbff73414543b3a0028a002508e204047056 Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:15:42 +0800 Subject: [PATCH] chore: disable old import type (#6089) --- .../presentation/home/menu/sidebar/import/import_type.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_type.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_type.dart index 3728cbee7b..5465bb0533 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_type.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_type.dart @@ -48,6 +48,8 @@ enum ImportType { bool get enableOnRelease { switch (this) { + case ImportType.historyDatabase: + case ImportType.historyDocument: case ImportType.databaseRawData: return kDebugMode; default: