Change regenerate button to use refresh icon instead of text
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user