Skip to content

Commit

Permalink
Fix wrong usage of constant
Browse files Browse the repository at this point in the history
  • Loading branch information
UriahShaulMandel committed Sep 8, 2021
1 parent a0552b5 commit 1cfa96c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void show() {
if (!built)
build();
toast.show();
if (duration == -1) {
if (duration == LENGTH_SEC) {
new Handler()
.postDelayed(() -> toast.cancel(), D.SECOND);
}
Expand Down

0 comments on commit 1cfa96c

Please sign in to comment.