Skip to content

Commit 110002f

Browse files
authored
Update comments in MyTimelineComplicationDataSourceService.kt
1 parent 41d2e50 commit 110002f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wear/src/main/java/com/example/wear/snippets/complication/MyTimelineComplicationDataSourceService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class MyTimelineComplicationDataSourceService : SuspendingTimelineComplicationDa
4444
timelineEntries = emptyList()
4545
)
4646
}
47-
// Retrieve list of events from your own datasource / database.
47+
// Retrieve the list of events from your own data source or database.
4848
val events = getCalendarEvents()
4949
return ComplicationDataTimeline(
5050
defaultComplicationData = shortTextComplicationData("No event"),
@@ -66,7 +66,7 @@ class MyTimelineComplicationDataSourceService : SuspendingTimelineComplicationDa
6666
text = PlainComplicationText.Builder(text).build(),
6767
contentDescription = PlainComplicationText.Builder(text).build()
6868
)
69-
// Add further optional details here such as icon, tap action, title etc
69+
// Add further optional details here such as icon, tap action, and title.
7070
.build()
7171

7272
// [START_EXCLUDE]

0 commit comments

Comments
 (0)