Change regenerate button to use refresh icon instead of text

This commit is contained in:
Leon Bösche
2026-01-24 04:30:15 +01:00
parent c0a3e4d8c3
commit 4786e5b5d9

View File

@@ -474,13 +474,14 @@ class _OrganizationSettingsDialogState
onPressed: _copyInviteLink,
child: const Text('Copy Link'),
),
],
),
const SizedBox(height: 16),
if (_canManage)
if (_canManage) ...[
const SizedBox(width: 16),
ModernGlassButton(
onPressed: _regenerateInviteLink,
child: const Text('Regenerate'),
child: const Icon(Icons.refresh),
),
],
],
),
] else if (_canManage) ...[
const Divider(),