fix: rename variable

pull/206/head
arturplaczek 3 years ago
parent 630a3cf5be
commit 1fdd1b6bdc

@ -117,9 +117,9 @@ class PinballGameLoadedView extends StatelessWidget {
final isPlaying = context.select(
(StartGameBloc bloc) => bloc.state.status == StartGameStatus.play,
);
final widthInRatio = MediaQuery.of(context).size.height * 9 / 16;
final gameWidgetWidth = MediaQuery.of(context).size.height * 9 / 16;
final screenWidth = MediaQuery.of(context).size.width;
final leftMargin = (screenWidth / 2) - (widthInRatio / 1.8);
final leftMargin = (screenWidth / 2) - (gameWidgetWidth / 1.8);
return Stack(
children: [

Loading…
Cancel
Save