Enhance role selection dropdown with custom InkWell and update dropdown color

This commit is contained in:
Leon Bösche
2026-01-24 05:59:18 +01:00
parent 692e7767f3
commit a9c49a0282

View File

@@ -560,8 +560,17 @@ class _OrganizationSettingsDialogState
child: DropdownButtonFormField<String>(
initialValue: selectedRole,
items: ['admin', 'member'].map((role) {
return DropdownMenuItem(value: role, child: Text(role));
return DropdownMenuItem(
value: role,
child: InkWell(
splashFactory: NoSplash.splashFactory,
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
child: Text(role),
),
);
}).toList(),
dropdownColor: AppTheme.primaryBackground,
onChanged: (value) => selectedRole = value ?? 'member',
decoration: InputDecoration(
labelText: 'Role',