Add save button to AccountSettingsDialog for profile updates

This commit is contained in:
Leon Bösche
2026-01-29 10:47:50 +01:00
parent 071f32ddea
commit d7045aba2a

View File

@@ -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
],
),