1
0
mirror of https://github.com/etesync/android synced 2025-01-11 00:01:12 +00:00

Service default creation: correctly set the type.

Was a copy-paste error and it was setting type to Tasks.
This commit is contained in:
Tom Hacohen 2019-10-16 10:32:55 +03:00
parent 9d25087013
commit 9600cd3f1f

View File

@ -150,7 +150,7 @@ public class JournalModel {
// If our first time, create service and a journal
ServiceEntity serviceEntity = new ServiceEntity();
serviceEntity.account = account;
serviceEntity.type = CollectionInfo.Type.TASKS;
serviceEntity.type = type;
service = data.insert(serviceEntity);
}
return service;