diff --git a/lib/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/sign_up_two_page.dart b/lib/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/sign_up_two_page.dart index ad2407466..c4ba63b41 100644 --- a/lib/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/sign_up_two_page.dart +++ b/lib/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/sign_up_two_page.dart @@ -4,10 +4,9 @@ import 'package:flutter_mobx/flutter_mobx.dart'; import 'package:flutter_modular/flutter_modular.dart'; import 'package:mobx/mobx.dart'; -import '../../../../../../../shared/design_system/button_shape.dart'; -import '../../../../../../../shared/design_system/colors.dart'; import '../../../../../../../shared/design_system/linear_gradient_design_system.dart'; import '../../../../../../../shared/design_system/text_styles.dart'; +import '../../../../../../../shared/design_system/widgets/buttons/penhas_button.dart'; import '../../../../shared/input_box_style.dart'; import '../../../../shared/page_progress_indicator.dart'; import '../../../../shared/single_text_input.dart'; @@ -186,11 +185,8 @@ class _SignUpTwoPageState } Widget _buildNextButton() { - return RaisedButton( + return PenhasButton.roundedFilled( onPressed: () => controller.nextStepPressed(), - elevation: 0, - color: DesignSystemColors.ligthPurple, - shape: kButtonShapeFilled, child: const Text( 'Próximo', style: kTextStyleDefaultFilledButtonLabel, @@ -248,6 +244,6 @@ class _SignUpTwoPageState if (MediaQuery.of(context).viewInsets.bottom > 0) { SystemChannels.textInput.invokeMethod('TextInput.hide'); } - WidgetsBinding.instance?.focusManager.primaryFocus?.unfocus(); + WidgetsBinding.instance.focusManager.primaryFocus?.unfocus(); } } diff --git a/test/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/goldens/ci/sign_up_step_2_page.png b/test/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/goldens/ci/sign_up_step_2_page.png index 194f85618..3b1ac5402 100644 Binary files a/test/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/goldens/ci/sign_up_step_2_page.png and b/test/app/features/authentication/presentation/sign_in/sign_up/pages/sign_up_two/goldens/ci/sign_up_step_2_page.png differ