From d26ad6d0006151dff37d77c23492cd5a0eb8a81f Mon Sep 17 00:00:00 2001 From: "Bastien. B" Date: Mon, 19 Feb 2024 01:07:30 +0900 Subject: [PATCH] Update translation_service.dart --- lib/services/translation_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/translation_service.dart b/lib/services/translation_service.dart index 9125a03..9548233 100644 --- a/lib/services/translation_service.dart +++ b/lib/services/translation_service.dart @@ -7,7 +7,7 @@ export 'translation_service.dart'; Future translateText(String textToTranslate) async { final prefs = await SharedPreferences.getInstance(); final apiUrl = - 'https://translation.googleapis.com/language/translate/v2/?key=AIzaSyB9_Z-o83Ylc_hUApIhr1BctN7NFaeA5Vg'; + 'YOUR KEY'; final targetTranslateCode = prefs.getString('languageCode') ?? 'en'; final response = await http.post( Uri.parse(apiUrl),