Commit 1c320eda by Zac Chan

no message

parent 9de5a8f8
...@@ -99,8 +99,8 @@ public class FluttertoastPlugin implements MethodCallHandler { ...@@ -99,8 +99,8 @@ public class FluttertoastPlugin implements MethodCallHandler {
toastView.setOnTouchListener(new View.OnTouchListener() { toastView.setOnTouchListener(new View.OnTouchListener() {
@Override @Override
public boolean onTouch(View v, MotionEvent event) { public boolean onTouch(View v, MotionEvent event) {
result.success(true);
handler.removeCallbacks(run); handler.removeCallbacks(run);
result.success(true);
return false; return false;
} }
}); });
...@@ -124,7 +124,7 @@ public class FluttertoastPlugin implements MethodCallHandler { ...@@ -124,7 +124,7 @@ public class FluttertoastPlugin implements MethodCallHandler {
// }; // };
toast.show(); toast.show();
handler.postDelayed(run,toast.getDuration()*1000 ); handler.postDelayed(run,3500);
// thread.run(); // thread.run();
......
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