diff --git a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart index d56663a..2e4a9f7 100644 --- a/b0esche_cloud/lib/widgets/organization_settings_dialog.dart +++ b/b0esche_cloud/lib/widgets/organization_settings_dialog.dart @@ -552,26 +552,32 @@ class _OrganizationSettingsDialogState ), ), const SizedBox(height: 16), - DropdownButtonFormField( - initialValue: selectedRole, - items: ['admin', 'member'].map((role) { - return DropdownMenuItem(value: role, child: Text(role)); - }).toList(), - onChanged: (value) => selectedRole = value ?? 'member', - decoration: InputDecoration( - labelText: 'Role', - labelStyle: TextStyle(color: AppTheme.secondaryText), - border: OutlineInputBorder( - borderSide: BorderSide( - color: AppTheme.accentColor.withValues(alpha: 0.3), + Theme( + data: Theme.of(context).copyWith( + splashFactory: NoSplash.splashFactory, + buttonTheme: ButtonThemeData(splashColor: Colors.transparent), + ), + child: DropdownButtonFormField( + initialValue: selectedRole, + items: ['admin', 'member'].map((role) { + return DropdownMenuItem(value: role, child: Text(role)); + }).toList(), + onChanged: (value) => selectedRole = value ?? 'member', + decoration: InputDecoration( + labelText: 'Role', + labelStyle: TextStyle(color: AppTheme.secondaryText), + border: OutlineInputBorder( + borderSide: BorderSide( + color: AppTheme.accentColor.withValues(alpha: 0.3), + ), ), - ), - focusedBorder: OutlineInputBorder( - borderSide: BorderSide(color: AppTheme.accentColor), - ), - enabledBorder: OutlineInputBorder( - borderSide: BorderSide( - color: AppTheme.accentColor.withValues(alpha: 0.3), + focusedBorder: OutlineInputBorder( + borderSide: BorderSide(color: AppTheme.accentColor), + ), + enabledBorder: OutlineInputBorder( + borderSide: BorderSide( + color: AppTheme.accentColor.withValues(alpha: 0.3), + ), ), ), ),