Skip to content

Commit

Permalink
Revert "Update home_page.dart"
Browse files Browse the repository at this point in the history
This reverts commit 754b2f4.
  • Loading branch information
mikegapinski committed Oct 22, 2023
1 parent f29c89d commit ddda0ea
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/feature/home/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ class HomePage extends StatelessWidget {
_onBackendConnectionLost(context);
}
return Scaffold(
backgroundColor: Colors.black,
body: isBackendAccessible
? Stack(
alignment: Alignment.topCenter,
children: [
LayoutBuilder(builder: (context, constraints) {
BlocProvider.of<DisplayCubit>(context)
Expand All @@ -46,7 +44,6 @@ class HomePage extends StatelessWidget {
state.adjustedSize.height,
child: Stack(
fit: StackFit.expand,
alignment: Alignment.topCenter,
children: [
DisplayView(type: state.rendererType),
PointerInterceptor(
Expand All @@ -67,10 +64,9 @@ class HomePage extends StatelessWidget {
top: 0,
child: Container(
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.8),
borderRadius: const BorderRadius.only(
bottomLeft: Radius.circular(
TADimens.ROUND_BORDER_RADIUS))),
color: Colors.black.withOpacity(0.8),
borderRadius: const BorderRadius.only(bottomLeft: Radius.circular(TADimens.ROUND_BORDER_RADIUS))
),
child: const Row(
children: [
UpdateButton(),
Expand Down

0 comments on commit ddda0ea

Please sign in to comment.