Add save button to AccountSettingsDialog for profile updates
This commit is contained in:
@@ -620,10 +620,12 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
|
||||
// Save Button
|
||||
Center(
|
||||
child: SizedBox(
|
||||
width: 144,
|
||||
child: ModernGlassButton(
|
||||
onPressed: _isLoading ? null : _updateProfile,
|
||||
onPressed: _isLoading ? () {} : () => _updateProfile(),
|
||||
isLoading: _isLoading,
|
||||
child: _isLoading
|
||||
? const SizedBox(
|
||||
@@ -639,6 +641,7 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
|
||||
: const Text('Save Changes'),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2), // Space for logout button
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user