diff --git a/lib/main.dart b/lib/main.dart index 1c198f6..928c35a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1570,8 +1570,9 @@ class _MainAppState extends State { : null : () { selectionHaptic(); - if (!chatAllowed || model == null) + if (!chatAllowed || model == null) { return; + } if (desktopFeature()) { FilePicker.platform .pickFiles(type: FileType.image) diff --git a/lib/worker/theme.dart b/lib/worker/theme.dart index f7f04b2..b2827f8 100644 --- a/lib/worker/theme.dart +++ b/lib/worker/theme.dart @@ -56,6 +56,7 @@ void resetSystemNavigation(BuildContext context, ThemeData themeModifier(ThemeData theme) { return theme.copyWith( + // https://docs.flutter.dev/platform-integration/android/predictive-back#set-up-your-app pageTransitionsTheme: const PageTransitionsTheme( builders: { TargetPlatform.android: PredictiveBackPageTransitionsBuilder(),