Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
5AbhishekSaxena committed Aug 17, 2020
1 parent 718e38a commit 3d8a42b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class MainActivity : AppCompatActivity() {

builder_button.setOnClickListener {
val toastBuilder = Toaster.Builder(this)
.setMessage("some message 1")

.setMessage("Some default message")
Toaster.pop(toastBuilder.make()).show()
}

Expand All @@ -33,6 +32,5 @@ class MainActivity : AppCompatActivity() {
Toaster.LENGTH_SHORT
).show()
}

}
}

0 comments on commit 3d8a42b

Please sign in to comment.