fix: Add normal mode again to OnePageCard

This commit is contained in:
Christian Pauly 2021-04-09 15:48:50 +02:00
parent e3474bf220
commit c057d31d21
1 changed files with 28 additions and 26 deletions

View File

@ -10,7 +10,9 @@ class OnePageCard extends StatelessWidget {
static const int alpha = 64;
@override
Widget build(BuildContext context) {
return Container(
return MediaQuery.of(context).size.width <= 600
? child
: Container(
decoration: BoxDecoration(
color: Theme.of(context).backgroundColor,
gradient: LinearGradient(