feat: Remove .env file for AI Scribe

It was used at the beginning for configuration purpose but now we
have the JMAP capability, no need anymore.
This commit is contained in:
Théo Poizat
2025-12-15 15:04:41 +01:00
committed by Dat H. Pham
parent 253f22c600
commit 0075fd64b6
8 changed files with 2 additions and 28 deletions
-1
View File
@@ -8,4 +8,3 @@ export 'scribe/ai/presentation/model/ai_action.dart';
export 'scribe/ai/presentation/model/ai_scribe_menu_action.dart';
export 'scribe/ai/data/repository/ai_repository_impl.dart';
export 'scribe/ai/data/datasource/ai_datasource.dart';
export 'scribe/ai/data/config/ai_config.dart';
@@ -1,7 +0,0 @@
import 'package:flutter_dotenv/flutter_dotenv.dart';
class AIConfig {
const AIConfig._();
static bool get isAiEnabled => dotenv.get('AI_ENABLED', fallback: 'false') == 'true';
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"@@last_modified": "2025-12-10T10:22:36.990738",
"@@last_modified": "2025-12-15T14:32:54.358333",
"categoryCorrectGrammar": "Correct grammar",
"@categoryCorrectGrammar": {
"type": "text",
-8
View File
@@ -381,14 +381,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.2.0"
flutter_dotenv:
dependency: "direct main"
description:
name: flutter_dotenv
sha256: d9283d92059a22e9834bc0a31336658ffba77089fb6f3cc36751f1fc7c6661a3
url: "https://pub.dev"
source: hosted
version: "5.0.2"
flutter_image_compress:
dependency: transitive
description:
-2
View File
@@ -22,8 +22,6 @@ dependencies:
dio: 5.0.0
flutter_dotenv: 5.0.2
get: 4.6.6
pointer_interceptor: 0.10.1+2