fix: Add normal mode again to OnePageCard
This commit is contained in:
parent
49fa531841
commit
75c68edbce
1 changed files with 28 additions and 26 deletions
|
|
@ -10,7 +10,9 @@ class OnePageCard extends StatelessWidget {
|
||||||
static const int alpha = 64;
|
static const int alpha = 64;
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return MediaQuery.of(context).size.width <= 600
|
||||||
|
? child
|
||||||
|
: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).backgroundColor,
|
color: Theme.of(context).backgroundColor,
|
||||||
gradient: LinearGradient(
|
gradient: LinearGradient(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue