TF-1977 Disable highlight color when clicking logo

(cherry picked from commit 388f062b07968440209f4e90544d42d4c6d3f883)
This commit is contained in:
dab246
2023-08-29 14:55:37 +07:00
committed by Dat Vu
parent 77d95b9fa8
commit 6ef028f023
@@ -44,9 +44,7 @@ class SloganBuilder extends StatelessWidget {
@override
Widget build(BuildContext context) {
if (!arrangedByHorizontal) {
return Material(
color: Colors.transparent,
child: InkWell(
return InkWell(
onTap: onTapCallback,
hoverColor: hoverColor,
borderRadius: BorderRadius.all(Radius.circular(hoverRadius ?? 8)),
@@ -67,12 +65,9 @@ class SloganBuilder extends StatelessWidget {
),
]),
),
),
);
} else {
return Material(
color: Colors.transparent,
child: InkWell(
return InkWell(
onTap: onTapCallback,
hoverColor: hoverColor,
radius: hoverRadius ?? 8,
@@ -94,7 +89,6 @@ class SloganBuilder extends StatelessWidget {
),
]),
),
),
);
}
}