A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
0

Configure Feed

Select the types of activity you want to include in your feed.

style: Apply IDE recommended code-cleanups

Remove a blank line and use `isNotEmpty` instead of manually
checking size.

Joseph Hale (Feb 26, 2024, 10:27 PM -0700) ca364428 10a919d3

+1 -2
+1 -2
wear/src/main/java/com/example/util/simpletimetracker/presentation/ActivityChip.kt
··· 47 47 } else { 48 48 "" 49 49 } 50 - val tagString = if (tagsList.length > 0) { 50 + val tagString = if (tagsList.isNotEmpty()) { 51 51 " ($tagsList)" 52 52 } else { 53 53 "" ··· 108 108 } else { 109 109 return time.format(DateTimeFormatter.ISO_DATE_TIME).replace("T", " ") 110 110 } 111 - 112 111 } 113 112 114 113 @Preview()