1
0
mirror of https://github.com/etesync/android synced 2025-06-28 19:02:38 +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 { fun defaultForServiceType(service: Type): CollectionInfo {
val info = CollectionInfo() val info = CollectionInfo()
info.displayName = when (service) { info.displayName = when (service) {
Type.ADDRESS_BOOK -> "My Contacts", Type.ADDRESS_BOOK -> "My Contacts"
Type.CALENDAR -> "My Calendar", Type.CALENDAR -> "My Calendar"
Type.TASKS -> "My Tasks", Type.TASKS -> "My Tasks"
} }
info.selected = true info.selected = true
info.enumType = service info.enumType = service