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 @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
if (!arrangedByHorizontal) { if (!arrangedByHorizontal) {
return Material( return InkWell(
color: Colors.transparent,
child: InkWell(
onTap: onTapCallback, onTap: onTapCallback,
hoverColor: hoverColor, hoverColor: hoverColor,
borderRadius: BorderRadius.all(Radius.circular(hoverRadius ?? 8)), borderRadius: BorderRadius.all(Radius.circular(hoverRadius ?? 8)),
@@ -67,12 +65,9 @@ class SloganBuilder extends StatelessWidget {
), ),
]), ]),
), ),
),
); );
} else { } else {
return Material( return InkWell(
color: Colors.transparent,
child: InkWell(
onTap: onTapCallback, onTap: onTapCallback,
hoverColor: hoverColor, hoverColor: hoverColor,
radius: hoverRadius ?? 8, radius: hoverRadius ?? 8,
@@ -94,7 +89,6 @@ class SloganBuilder extends StatelessWidget {
), ),
]), ]),
), ),
),
); );
} }
} }