mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-17 03:22:04 +00:00
fix creating dailies
This commit is contained in:
parent
b869f0c93e
commit
b9059bc2a5
1 changed files with 3 additions and 1 deletions
|
|
@ -315,7 +315,9 @@ public class Task extends BaseModel {
|
|||
* This array contains 7 values, one for each days, starting from monday.
|
||||
*/
|
||||
public Days getRepeat() {
|
||||
if (repeat == null) { return new Days(); }
|
||||
if (repeat == null) {
|
||||
repeat = new Days();
|
||||
}
|
||||
return repeat;
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue