pull/574/head
Alex Baker 7 years ago
parent d4f6645e85
commit 0bec1f39fe

@ -89,7 +89,9 @@ public class SupportGoogleTaskListPicker extends InjectingDialogFragment {
: super.getDrawableColor(position);
}
};
adapter.setChecked(selected.getName());
if (selected != null) {
adapter.setChecked(selected.getName());
}
return dialogBuilder.newDialog()
.setSingleChoiceItems(adapter, -1, (dialog, which) -> {
handler.selectedList(lists.get(which));

Loading…
Cancel
Save