-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Use flutter_keyboard_visibility in all forms #919
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be applied here:
threefold_connect/app/lib/screens/wallets/wallet_info.dart
Lines 156 to 170 in d379ad6
title: TextField( | |
focusNode: nameFocus, | |
autofocus: edit, | |
readOnly: !edit, | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
), | |
controller: walletNameController, | |
onChanged: (text) { | |
_validateWalletName(); | |
}, | |
decoration: InputDecoration( | |
labelText: 'Wallet Name', | |
errorText: _errorText, | |
)), |
Here too.
threefold_connect/app/lib/widgets/wallets/add_edit_contact.dart
Lines 222 to 242 in 4d9c2f6
TextField( | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
decorationColor: Theme.of(context).colorScheme.onSurface), | |
maxLength: 50, | |
decoration: InputDecoration( | |
label: const Text('Name'), errorText: nameError), | |
controller: _nameController, | |
), | |
TextField( | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
decorationColor: Theme.of(context).colorScheme.onSurface), | |
keyboardType: TextInputType.multiline, | |
maxLines: null, | |
decoration: InputDecoration( | |
label: const Text('Address'), | |
errorText: addressError, | |
), | |
controller: _addressController, | |
), |
threefold_connect/app/lib/widgets/wallets/add_wallet.dart
Lines 252 to 272 in 22f62b5
TextField( | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
decorationColor: Theme.of(context).colorScheme.onSurface), | |
maxLength: 50, | |
decoration: InputDecoration( | |
label: const Text('Name'), errorText: nameError), | |
controller: _nameController, | |
), | |
TextField( | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
decorationColor: Theme.of(context).colorScheme.onSurface), | |
keyboardType: TextInputType.multiline, | |
maxLines: null, | |
decoration: InputDecoration( | |
label: const Text('Secret'), | |
errorText: secretError, | |
), | |
controller: _secretController, | |
), |
Edit farm:
threefold_connect/app/lib/widgets/farm_item.dart
Lines 162 to 172 in f59ee98
title: TextField( | |
focusNode: walletFocus, | |
autofocus: edit, | |
readOnly: !edit, | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
), | |
controller: walletAddressController, | |
onChanged: (value) { | |
validateStellarAddress(value.trim()); | |
}, |
Identity verification:
threefold_connect/app/lib/screens/identity_verification_screen.dart
Lines 871 to 879 in b8d3645
TextField( | |
controller: controller, | |
style: Theme.of(context).textTheme.bodyMedium!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
), | |
decoration: InputDecoration( | |
labelText: 'Email', | |
errorText: validEmail == true ? null : errorEmail), | |
), |
threefold_connect/app/lib/screens/identity_verification_screen.dart
Lines 981 to 988 in b8d3645
TextField( | |
controller: changeEmailController, | |
decoration: InputDecoration( | |
labelText: 'Email', | |
errorText: emailInputValidated | |
? null | |
: 'Please enter a valid email'), | |
), |
Council screen:
threefold_connect/app/lib/screens/council_screen.dart
Lines 25 to 56 in a56244d
TextField( | |
style: Theme.of(context).textTheme.bodyLarge!.copyWith( | |
color: Theme.of(context).colorScheme.onSurface, | |
), | |
controller: urlController, | |
onChanged: (value) { | |
final v = value.trim(); | |
if (v.isEmpty) { | |
errorMessage = 'URL is required'; | |
setState(() {}); | |
return; | |
} | |
if (!v.startsWith('wss://') && !v.startsWith('ws://')) { | |
errorMessage = 'Not a valid websocket URL'; | |
setState(() {}); | |
return; | |
} | |
if (!isFQDN(v.replaceFirst('wss://', '')) && | |
!isFQDN(v.replaceFirst('ws://', ''))) { | |
errorMessage = 'Not a valid websocket URL'; | |
setState(() {}); | |
return; | |
} | |
errorMessage = null; | |
setState(() {}); | |
return; | |
}, | |
decoration: InputDecoration( | |
labelText: 'TFChain URL', | |
errorText: errorMessage, | |
)), | |
const SizedBox(height: 50), |
Changes
Related Issues
Tested Scenarios