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, onPressed: _copyInviteLink,
child: const Text('Copy Link'), child: const Text('Copy Link'),
), ),
], if (_canManage) ...[
), const SizedBox(width: 16),
const SizedBox(height: 16),
if (_canManage)
ModernGlassButton( ModernGlassButton(
onPressed: _regenerateInviteLink, onPressed: _regenerateInviteLink,
child: const Text('Regenerate'), child: const Icon(Icons.refresh),
),
],
],
), ),
] else if (_canManage) ...[ ] else if (_canManage) ...[
const Divider(), const Divider(),