Skip to content

Commit

Permalink
[Fixed] Library leak GrenderG/Toasty#165
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhPatange committed Feb 21, 2021
1 parent 83fc367 commit 33194ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class ExtendedAppBarLayout : AppBarLayout, OnOffsetChangedListener {
appBarLayout: AppBarLayout,
verticalOffset: Int
) {
Log.e(javaClass.name, "Vertical Offset: $verticalOffset")
state = when {
verticalOffset == 0 -> {
if (onStateChangeListener != null && state != State.EXPANDED) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class CommonInitializer : Initializer<Unit> {
Toasty.Config.getInstance()
.setTextSize(14)
.setToastTypeface(typeface)
.allowQueue(false)
.apply()

/** Set configs for After */
Expand Down

0 comments on commit 33194ce

Please sign in to comment.