Commit aed5188b by Caijinglong

fix the backgroundColor not fit the background's bug

parent eb33fb4c
......@@ -73,7 +73,7 @@ class FluttertoastPlugin(context: Context) : MethodCallHandler {
shapeDrawable.paint.isAntiAlias = true
shapeDrawable.paint.flags = Paint.ANTI_ALIAS_FLAG
text.setBackgroundDrawable(shapeDrawable)
toast.view.setBackgroundDrawable(shapeDrawable)
} catch (e: Exception) {
e.printStackTrace()
}
......
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