From 3d8a42b12a70ece379092c6971c8654a3dff85a0 Mon Sep 17 00:00:00 2001 From: 5abhisheksaxena <5abhisheksaxena@gmail.com> Date: Mon, 17 Aug 2020 21:52:06 +0530 Subject: [PATCH] Minor changes --- .../java/in/abhisheksaxena/toasterexample/MainActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/in/abhisheksaxena/toasterexample/MainActivity.kt b/app/src/main/java/in/abhisheksaxena/toasterexample/MainActivity.kt index 4d81dcf..bb06774 100644 --- a/app/src/main/java/in/abhisheksaxena/toasterexample/MainActivity.kt +++ b/app/src/main/java/in/abhisheksaxena/toasterexample/MainActivity.kt @@ -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() } @@ -33,6 +32,5 @@ class MainActivity : AppCompatActivity() { Toaster.LENGTH_SHORT ).show() } - } } \ No newline at end of file