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