Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 15:17:42 +08:00
parent 5c28376210
commit dd5c2229b3
22 changed files with 182 additions and 177 deletions

View File

@@ -24,8 +24,7 @@ abstract class CommonDynPageState<T extends CommonDynPage> extends State<T>
late final scaffoldKey = GlobalKey<ScaffoldState>();
bool get horizontalPreview =>
context.orientation == Orientation.landscape &&
controller.horizontalPreview;
context.isLandscape && controller.horizontalPreview;
Function(List<String> imgList, int index)? imageCallback;
dynamic get arguments;
@@ -191,7 +190,7 @@ abstract class CommonDynPageState<T extends CommonDynPage> extends State<T>
),
),
);
if (this.context.orientation == Orientation.portrait) {
if (this.context.isPortrait) {
Get.to(
replyReplyPage,
routeName: 'dynamicDetail-Copy',