TF-265 Remove prefix https:// in url login form

This commit is contained in:
dab246
2022-03-07 11:24:09 +07:00
committed by Dat H. Pham
parent 46b8f74298
commit 025bc53790
3 changed files with 30 additions and 1 deletions
@@ -93,8 +93,9 @@ class LoginView extends GetWidget<LoginController> {
width: responsiveUtils.getWidthLoginTextField(context),
child: (TextFieldBuilder()
..key(Key('login_url_input'))
..onChange((value) => loginController.setUrlText(value))
..onChange((value) => loginController.formatUrl(value))
..textInputAction(TextInputAction.next)
..addController(loginController.urlInputController)
..keyboardType(TextInputType.url)
..textDecoration((LoginInputDecorationBuilder()
..setLabelText(AppLocalizations.of(context).prefix_https)