mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-04-18 22:46:03 -04:00
Merge branch 'feature/new-account-visual-improvements' into 'main'
edit_account_form visual improvements See merge request veilid/veilidchat!44
This commit is contained in:
commit
ace128c5b4
@ -192,6 +192,8 @@ class _EditProfileFormState extends State<EditProfileForm> {
|
||||
onChanged: _onChanged,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
spacing: 8,
|
||||
children: [
|
||||
Row(children: [
|
||||
const Spacer(),
|
||||
@ -289,7 +291,7 @@ class _EditProfileFormState extends State<EditProfileForm> {
|
||||
_currentValueAutoAway = v ?? false;
|
||||
});
|
||||
},
|
||||
),
|
||||
).paddingLTRB(0, 0, 0, 16),
|
||||
FormBuilderTextField(
|
||||
name: EditProfileForm.formFieldAutoAwayTimeout,
|
||||
enabled: _currentValueAutoAway,
|
||||
@ -319,7 +321,9 @@ class _EditProfileFormState extends State<EditProfileForm> {
|
||||
return ElevatedButton(
|
||||
onPressed: (networkReady && _isModified) ? _doSubmit : null,
|
||||
child: Row(mainAxisSize: MainAxisSize.min, children: [
|
||||
const Icon(Icons.check, size: 16).paddingLTRB(0, 0, 4, 0),
|
||||
Icon(networkReady ? Icons.check : Icons.hourglass_empty,
|
||||
size: 16)
|
||||
.paddingLTRB(0, 0, 4, 0),
|
||||
Text(networkReady
|
||||
? widget.submitText
|
||||
: widget.submitDisabledText)
|
||||
|
Loading…
x
Reference in New Issue
Block a user