From 1adf14dae6a4c62537a56d41e8c57f713a54ad15 Mon Sep 17 00:00:00 2001 From: Daniel Morales Date: Sat, 29 Apr 2017 17:48:47 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c31e40..d5b42ab 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add this to your module's `build.gradle` file (make sure the version matches the ```gradle dependencies { ... - compile 'com.github.GrenderG:Toasty:1.2.2' + compile 'com.github.GrenderG:Toasty:1.2.3' } ``` @@ -41,7 +41,7 @@ Toasty.Config.getInstance() .setWarningColor(@ColorInt int warningColor) // optional .setTextColor(@ColorInt int textColor) // optional .tintIcon(boolean tintIcon) // optional (apply textColor also to the icon) - .setToastTypeface(AssetManager assetManager, String fontPath) // optional + .setToastTypeface(@NonNull Typeface typeface) // optional .apply(); // required ```