opt: save panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-07 18:20:45 +08:00
parent af289c533f
commit 4de180c23a
6 changed files with 132 additions and 79 deletions

View File

@@ -190,7 +190,13 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
),
);
if (this.context.orientation == Orientation.portrait) {
Get.to(replyReplyPage);
Get.to(
replyReplyPage,
routeName: 'dynamicDetail-Copy',
arguments: {
'item': _dynamicDetailController.item,
},
);
} else {
ScaffoldState? scaffoldState = Scaffold.maybeOf(context);
if (scaffoldState != null) {
@@ -214,7 +220,13 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
),
);
} else {
Get.to(replyReplyPage);
Get.to(
replyReplyPage,
routeName: 'dynamicDetail-Copy',
arguments: {
'item': _dynamicDetailController.item,
},
);
}
}
});