mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 14:45:08 +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
|
@Override
|
||||||
public View getView(int position, View convertView, ViewGroup parent) {
|
public View getView(int position, View convertView, ViewGroup parent) {
|
||||||
Preference preference = localList.get(position);
|
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