mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
fixup! Display Scribe mobile (bottomsheet) only when responsive mobile
This commit is contained in:
1 parent
03a03b9088
commit
ed53929323
1 file changed
+2
-1
@@ -1,8 +1,9 @@
|
||||
import 'package:core/presentation/utils/responsive_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class AiScribeMobileUtils {
|
||||
static bool isScribeInMobileMode(BuildContext? context) {
|
||||
return context != null && ResponsiveUtils().isMobile(context);
|
||||
return context != null && Get.find<ResponsiveUtils>().isMobile(context);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user