Added reference
This commit is contained in:
parent
c41fb53d9c
commit
354e82cacd
|
@ -1570,8 +1570,9 @@ class _MainAppState extends State<MainApp> {
|
|||
: null
|
||||
: () {
|
||||
selectionHaptic();
|
||||
if (!chatAllowed || model == null)
|
||||
if (!chatAllowed || model == null) {
|
||||
return;
|
||||
}
|
||||
if (desktopFeature()) {
|
||||
FilePicker.platform
|
||||
.pickFiles(type: FileType.image)
|
||||
|
|
|
@ -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, PageTransitionsBuilder>{
|
||||
TargetPlatform.android: PredictiveBackPageTransitionsBuilder(),
|
||||
|
|
Loading…
Reference in New Issue