Skip to content

Commit

Permalink
etc: make layout only affect ios devices
Browse files Browse the repository at this point in the history
  • Loading branch information
brenodt authored and MathJud committed Jan 9, 2025
1 parent ebe10e2 commit c00f276
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ class DynamicNetworkScreen extends HookConsumerWidget {

return Scaffold(
body: Stack(
alignment: AlignmentDirectional.bottomCenter,
alignment: Platform.isIOS
? AlignmentDirectional.bottomCenter
: AlignmentDirectional.topEnd,
children: [
InteractiveViewer(child: GameWidget(game: gameEngine)),
const Padding(
Expand Down

0 comments on commit c00f276

Please sign in to comment.