浏览代码

Merge pull request #279 from tomcatter/master

fix the field of class assignment error
/main
GitHub 3 年前
当前提交
599b8896
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      com.unity.uiwidgets/Runtime/material/pickers/calendar_date_picker.cs

6
com.unity.uiwidgets/Runtime/material/pickers/calendar_date_picker.cs


D.assert(initialDate != null);
D.assert(firstDate != null);
D.assert(lastDate != null);
initialDate = utils.dateOnly(initialDate.Value);
firstDate = utils.dateOnly(firstDate.Value);
lastDate = utils.dateOnly(lastDate.Value);
this.initialDate = utils.dateOnly(initialDate.Value);
this.firstDate = utils.dateOnly(firstDate.Value);
this.lastDate = utils.dateOnly(lastDate.Value);
D.assert(onDateChanged != null);
D.assert(initialCalendarMode != null);

正在加载...
取消
保存