Skip to content

Commit 01631c7

Browse files
committed
fix display bug in realease mode
1 parent ce827e6 commit 01631c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apk/app.apk

-27.2 MB
Binary file not shown.

lib/home_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ class _GoogleMapState extends State<GoogleMapPage> with TickerProviderStateMixin
124124

125125
@override
126126
Widget build(BuildContext context) {
127-
screenWidth ??= MediaQuery.of(context).size.width;
128-
screenHeight ??= MediaQuery.of(context).size.height;
127+
screenWidth = MediaQuery.of(context).size.width;
128+
screenHeight = MediaQuery.of(context).size.height;
129129
return Scaffold(
130130
body: SizedBox(
131131
width: screenWidth,

0 commit comments

Comments
 (0)