From 4786e5b5d934173bfb04c4136a882c21328d2cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sat, 24 Jan 2026 04:30:15 +0100 Subject: [PATCH] Change regenerate button to use refresh icon instead of text --- .../lib/widgets/organization_settings_dialog.dart | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart index c03c6ac..1fc369c 100644 --- a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart +++ b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart @@ -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'),