Skip to content

Commit 007b132

Browse files
committed
typo updated
1 parent ffbb3f3 commit 007b132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

designertoast/src/main/java/com/vdx/designertoast/DesignerToast.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static void Success(Context context, String message, int gravity, int dur
4949
ImageView toast_icon = layout.findViewById(R.id.toast_icon);
5050
background.setBackground(context.getResources().getDrawable(R.drawable.success_background));
5151
toast_message.setText(message);
52-
toast_icon.setBackground(context.getResources().getDrawable(R.drawable.ic_warning_2));
52+
toast_icon.setBackground(context.getResources().getDrawable(R.drawable.ic_success));
5353
Toast toast = new Toast(context);
5454
toast.setDuration(duration);
5555
toast.setGravity(gravity, 0, 20);

0 commit comments

Comments
 (0)