mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-03-29 19:06:59 +01:00
fix: Add normal mode again to OnePageCard
This commit is contained in:
parent
e3474bf220
commit
c057d31d21
@ -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…
x
Reference in New Issue
Block a user