From 2b06dc65e30f6697c9e3be78e97ea97a464fb853 Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 23 Dec 2025 13:01:45 +0700 Subject: [PATCH] hotfix(ai-scribe): Hide AI scribe option in user setting on mobile --- .../presentation/preferences/preferences_view.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/features/manage_account/presentation/preferences/preferences_view.dart b/lib/features/manage_account/presentation/preferences/preferences_view.dart index 3266e2570..26fb2d0c7 100644 --- a/lib/features/manage_account/presentation/preferences/preferences_view.dart +++ b/lib/features/manage_account/presentation/preferences/preferences_view.dart @@ -1,3 +1,4 @@ +import 'package:core/utils/platform_info.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:tmail_ui_user/features/base/mixin/app_loader_mixin.dart'; @@ -74,7 +75,7 @@ class PreferencesView extends GetWidget with AppLoaderMix (optionType) => optionType.isLocal, ).where((optionType) { if (optionType == PreferencesOptionType.aiScribe) { - return controller.isAIScribeAvailable; + return controller.isAIScribeAvailable && !PlatformInfo.isMobile; } return true; }),