From 4770380e3806a9a31ec13cf66ad10d08cb2df0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sat, 24 Jan 2026 06:18:09 +0100 Subject: [PATCH] Refactor role selection dropdown to use Material widget for improved styling and tap target size --- .../lib/widgets/organization_settings_dialog.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart index 30560d1..e617310 100644 --- a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart +++ b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart @@ -556,16 +556,17 @@ class _OrganizationSettingsDialogState data: Theme.of(context).copyWith( splashFactory: NoSplash.splashFactory, buttonTheme: ButtonThemeData(splashColor: Colors.transparent), + materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, + highlightColor: Colors.transparent, + splashColor: Colors.transparent, ), child: DropdownButtonFormField( initialValue: selectedRole, items: ['admin', 'member'].map((role) { return DropdownMenuItem( value: role, - child: InkWell( - splashFactory: NoSplash.splashFactory, - highlightColor: Colors.transparent, - splashColor: Colors.transparent, + child: Material( + type: MaterialType.transparency, child: Text(role), ), );