Added reference
This commit is contained in:
parent
c41fb53d9c
commit
354e82cacd
|
@ -1570,8 +1570,9 @@ class _MainAppState extends State<MainApp> {
|
||||||
: null
|
: null
|
||||||
: () {
|
: () {
|
||||||
selectionHaptic();
|
selectionHaptic();
|
||||||
if (!chatAllowed || model == null)
|
if (!chatAllowed || model == null) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
if (desktopFeature()) {
|
if (desktopFeature()) {
|
||||||
FilePicker.platform
|
FilePicker.platform
|
||||||
.pickFiles(type: FileType.image)
|
.pickFiles(type: FileType.image)
|
||||||
|
|
|
@ -56,6 +56,7 @@ void resetSystemNavigation(BuildContext context,
|
||||||
|
|
||||||
ThemeData themeModifier(ThemeData theme) {
|
ThemeData themeModifier(ThemeData theme) {
|
||||||
return theme.copyWith(
|
return theme.copyWith(
|
||||||
|
// https://docs.flutter.dev/platform-integration/android/predictive-back#set-up-your-app
|
||||||
pageTransitionsTheme: const PageTransitionsTheme(
|
pageTransitionsTheme: const PageTransitionsTheme(
|
||||||
builders: <TargetPlatform, PageTransitionsBuilder>{
|
builders: <TargetPlatform, PageTransitionsBuilder>{
|
||||||
TargetPlatform.android: PredictiveBackPageTransitionsBuilder(),
|
TargetPlatform.android: PredictiveBackPageTransitionsBuilder(),
|
||||||
|
|
Loading…
Reference in New Issue