2
0
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:
Albert Vaca
2014-09-17 16:06:23 +02:00
parent 8e0daa69cc
commit 804642c5fc

View File

@@ -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);
}
}