Showing
3 changed files
with
6 additions
and
1 deletions
| @@ -402,6 +402,10 @@ class TodayController extends GetMaterialController { | @@ -402,6 +402,10 @@ class TodayController extends GetMaterialController { | ||
| 402 | } | 402 | } |
| 403 | 403 | ||
| 404 | _refreshHealthDataAuthCardStatus({required int status}) { | 404 | _refreshHealthDataAuthCardStatus({required int status}) { |
| 405 | + if (isFriend) { | ||
| 406 | + showHealthDataAuthCardStatus.value = 1; | ||
| 407 | + return; | ||
| 408 | + } | ||
| 405 | if (status != 1) { | 409 | if (status != 1) { |
| 406 | showHealthDataAuthCardStatus.value = status; | 410 | showHealthDataAuthCardStatus.value = status; |
| 407 | } | 411 | } |
| @@ -172,7 +172,7 @@ class PhoneLoginView extends GetView<LoginController> { | @@ -172,7 +172,7 @@ class PhoneLoginView extends GetView<LoginController> { | ||
| 172 | return TextField( | 172 | return TextField( |
| 173 | controller: controller.codeController, | 173 | controller: controller.codeController, |
| 174 | focusNode: controller.codeFocusNode, | 174 | focusNode: controller.codeFocusNode, |
| 175 | - keyboardType: TextInputType.phone, | 175 | + keyboardType: TextInputType.number, |
| 176 | maxLength: 6, | 176 | maxLength: 6, |
| 177 | style: TextStyle( | 177 | style: TextStyle( |
| 178 | color: context.colors.textPrimary, | 178 | color: context.colors.textPrimary, |
| @@ -94,6 +94,7 @@ class UserOnboardingController extends GetxController { | @@ -94,6 +94,7 @@ class UserOnboardingController extends GetxController { | ||
| 94 | } else { | 94 | } else { |
| 95 | // SystemNavigator.pop(); | 95 | // SystemNavigator.pop(); |
| 96 | Get.offAllNamed(AppRoutes.home); | 96 | Get.offAllNamed(AppRoutes.home); |
| 97 | + finishOnboarding(); | ||
| 97 | } | 98 | } |
| 98 | } | 99 | } |
| 99 | 100 |
-
Please register or login to post a comment