Commit 1739d1a4 by Ben Getsug

updating android plugin to reflect changes made in dart

parent aa4dd550
...@@ -50,7 +50,6 @@ public class FluttertoastPlugin implements MethodCallHandler { ...@@ -50,7 +50,6 @@ public class FluttertoastPlugin implements MethodCallHandler {
toast.setDuration(Toast.LENGTH_SHORT); toast.setDuration(Toast.LENGTH_SHORT);
} }
switch (gravity) { switch (gravity) {
case "top": case "top":
toast.setGravity(Gravity.TOP, 0, 100); toast.setGravity(Gravity.TOP, 0, 100);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment