Show detail descriptions in settings

This commit is contained in:
topjohnwu
2020-01-17 17:02:40 +08:00
parent e6f443cb24
commit b95cf9b9a3
3 changed files with 62 additions and 61 deletions
@@ -35,7 +35,7 @@ sealed class TransitiveText {
// ---
companion object {
val empty = String("")
val EMPTY = String("")
}
}
@@ -51,4 +51,4 @@ fun TextView.setText(text: TransitiveText) {
}
@InverseBindingAdapter(attribute = "android:text", event = "android:textAttrChanged")
fun TextView.getTransitiveText() = text.asTransitive()
fun TextView.getTransitiveText() = text.asTransitive()