diff options
author | Allan Wang <allanwang@google.com> | 2019-08-15 16:04:14 -0700 |
---|---|---|
committer | Allan Wang <allanwang@google.com> | 2019-08-15 16:04:14 -0700 |
commit | 5aefeee08f68777dd07a16bd42a7d2392db6bbc9 (patch) | |
tree | a357e6cd419123d69ca5d2977c8ce839c56f3d87 /sample/src | |
parent | 85e9e1f253bb14512ae404989c45cbc199eb1eba (diff) | |
download | kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.gz kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.bz2 kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.zip |
Apply spotless
Diffstat (limited to 'sample/src')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 2 | ||||
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt index 11d19e5..4fe941b 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -47,7 +47,7 @@ class MainActivity : KPrefActivity() { companion object { - //some of the most common english words for show + // some of the most common english words for show val wordBank: List<String> by lazy { listOf( "the", "name", "of", "very", "to", "through", diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt index 7cf6cc1..68dde2a 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt @@ -33,7 +33,7 @@ class PermissionCheckbox(val permission: String) : KauIItem<PermissionCheckbox.V holder.text.text = permission holder.checkbox.isChecked = holder.itemView.context.hasPermission(permission) holder.checkbox.isClickable = false - holder.checkbox.jumpDrawablesToCurrentState() //Cancel the animation + holder.checkbox.jumpDrawablesToCurrentState() // Cancel the animation } class ViewHolder(v: View) : RecyclerView.ViewHolder(v) { |