diff --git a/README.md b/README.md index 7938026..0496e76 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.0' + compile 'com.github.GrenderG:Toasty:1.2.1' } ``` @@ -40,10 +40,17 @@ Toasty.Config.getInstance() .setSuccessColor(@ColorInt int successColor) // optional .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 .apply(); // required ``` +You can reset the configuration by using `reset()` method: + +```java +Toasty.Config.reset(); +``` + ## Usage Each method always returns a `Toast` object, so you can customize the Toast much more. **DON'T FORGET THE `show()` METHOD!**