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,14 +474,15 @@ class _OrganizationSettingsDialogState
onPressed: _copyInviteLink,
child: const Text('Copy Link'),
),
if (_canManage) ...[
const SizedBox(width: 16),
ModernGlassButton(
onPressed: _regenerateInviteLink,
child: const Icon(Icons.refresh),
),
],
],
),
const SizedBox(height: 16),
if (_canManage)
ModernGlassButton(
onPressed: _regenerateInviteLink,
child: const Text('Regenerate'),
),
] else if (_canManage) ...[
const Divider(),
const Text('No invite link available'),