Add the font variant

This commit is contained in:
Tommaso Berlose
2020-10-04 21:19:22 +02:00
parent 6ab8e40d45
commit c38b7a335c
12 changed files with 76 additions and 27 deletions

View File

@ -57,6 +57,7 @@ object WidgetHelper {
fun runWithCustomTypeface(context: Context, function: (typeface: Typeface?) -> Unit) {
if (Preferences.customFontFile != "") {
Log.d("ciao", Preferences.customFontFile)
val request = FontRequest(
"com.google.android.gms.fonts",
"com.google.android.gms",