Browse Source

Apply body font to checkbox prompt, part of #1761

Aidan Follestad 6 years ago
parent
commit
2b12f36b48

+ 1 - 0
core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt

@@ -56,6 +56,7 @@ typealias BooleanCallback = ((Boolean) -> Unit)?
       onToggle?.invoke(checked)
     }
     maybeSetTextColor(windowContext, R.attr.md_color_content)
+    bodyFont?.let { this.typeface = it }
   }
   return this
 }