1
0
mirror of https://github.com/etesync/android synced 2025-03-24 11:25:42 +00:00

Fix compilation.

This commit is contained in:
Tom Hacohen 2020-07-03 15:22:00 +03:00
parent ab11c841fb
commit b0208f13a5

View File

@ -38,9 +38,9 @@ class CollectionInfo : com.etesync.journalmanager.model.CollectionInfo() {
fun defaultForServiceType(service: Type): CollectionInfo {
val info = CollectionInfo()
info.displayName = when (service) {
Type.ADDRESS_BOOK -> "My Contacts",
Type.CALENDAR -> "My Calendar",
Type.TASKS -> "My Tasks",
Type.ADDRESS_BOOK -> "My Contacts"
Type.CALENDAR -> "My Calendar"
Type.TASKS -> "My Tasks"
}
info.selected = true
info.enumType = service