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

@@ -187,7 +187,13 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
),
);
if (this.context.orientation == Orientation.portrait) {
Get.to(replyReplyPage);
Get.to(
replyReplyPage,
routeName: 'htmlRender-Copy',
arguments: {
'id': _htmlRenderCtr.id,
},
);
} else {
ScaffoldState? scaffoldState = Scaffold.maybeOf(context);
if (scaffoldState != null) {
@@ -211,7 +217,13 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
),
);
} else {
Get.to(replyReplyPage);
Get.to(
replyReplyPage,
routeName: 'htmlRender-Copy',
arguments: {
'id': _htmlRenderCtr.id,
},
);
}
}
});