mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
Change default collection names from 'Default' to be descriptive
Fixes https://github.com/etesync/android/issues/118
This commit is contained in:
parent
6eb5c10fe8
commit
80a9f3a645
@ -37,7 +37,11 @@ class CollectionInfo : com.etesync.journalmanager.model.CollectionInfo() {
|
||||
companion object {
|
||||
fun defaultForServiceType(service: Type): CollectionInfo {
|
||||
val info = CollectionInfo()
|
||||
info.displayName = "Default"
|
||||
info.displayName = when (service) {
|
||||
Type.ADDRESS_BOOK -> "My Contacts",
|
||||
Type.CALENDAR -> "My Calendar",
|
||||
Type.TASKS -> "My Tasks",
|
||||
}
|
||||
info.selected = true
|
||||
info.enumType = service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user