Commit d38f891fbaab943f8d9dc1674e3918652d962eed

Authored by 常守达
1 parent 20896cf5

fix(login):扩大点击范围

... ... @@ -173,7 +173,7 @@ class LoginView extends GetView<LoginController> {
),
// Terms agreement text + checkbox
Positioned(
bottom: bottom(40),
bottom: bottom(25),
left: 0,
right: 0,
child: const _AgreementText(),
... ... @@ -297,11 +297,11 @@ class _AgreementText extends GetView<LoginController> {
decorationColor: _linkColor,
);
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 24.0),
child: GestureDetector(
onTap: controller.toggleTermsChecked,
behavior: HitTestBehavior.opaque,
return GestureDetector(
onTap: controller.toggleTermsChecked,
behavior: HitTestBehavior.opaque,
child: Padding(
padding: const EdgeInsets.fromLTRB(24.0, 20, 24.0, 15),
child: Text.rich(
TextSpan(
style: baseStyle,
... ...