File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
wear/src/main/java/com/example/wear/snippets/complication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import androidx.wear.watchface.complications.datasource.SuspendingComplicationDa
2626// [START android_wear_complication]
2727class MyComplicationDataSourceService : SuspendingComplicationDataSourceService () {
2828 override suspend fun onComplicationRequest (request : ComplicationRequest ): ComplicationData ? {
29- // Retrieve latest info for inclusion in the data
29+ // Retrieve the latest info for inclusion in the data.
3030 val text = getLatestData()
3131 return shortTextComplicationData(text)
3232 }
@@ -40,7 +40,7 @@ class MyComplicationDataSourceService : SuspendingComplicationDataSourceService(
4040 text = PlainComplicationText .Builder (text).build(),
4141 contentDescription = PlainComplicationText .Builder (text).build()
4242 )
43- // Add further optional details here such as icon, tap action, title etc
43+ // Add further optional details here such as icon, tap action, and title.
4444 .build()
4545
4646 // [START_EXCLUDE]
You can’t perform that action at this time.
0 commit comments