Merge "Use a property instead of a getter function for key in BubbleBarBubble. Using a property here is more Kotlin idiomatic." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
35f5bfea4c
@@ -30,7 +30,5 @@ data class BubbleBarBubble(
|
||||
val appName: String
|
||||
) {
|
||||
|
||||
fun getKey(): String {
|
||||
return info.key
|
||||
}
|
||||
val key: String = info.key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user