mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +00:00
Fixed bug causing some plugin settings having checkbox when they shouldn't
and viceversa.
This commit is contained in:
@@ -21,7 +21,8 @@ public class PreferenceListAdapter extends ArrayAdapter<Preference> {
|
||||
@Override
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
Preference preference = localList.get(position);
|
||||
return preference.getView(convertView, parent);
|
||||
//We can not reuse the convertView as some views have checkboxes and other don't
|
||||
return preference.getView(null, parent);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user