Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroBorgesFerreira committed Aug 9, 2017
1 parent dcb9c69 commit e39c481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

/**
* Created by leandroferreira on 07/03/17.
*
*/

public class SwipeButton extends RelativeLayout {
Expand Down Expand Up @@ -177,11 +178,6 @@ private void init(Context context, AttributeSet attrs, int defStyleAttr, int def
false);
Drawable trailingDrawable = typedArray.getDrawable(R.styleable.SwipeButton_button_trail_drawable);

// if (trailEnabled && trailingDrawable == null) {
// throw new IllegalArgumentException(getContext().getString(
// R.string.error_need_to_add_trailing_effect_drawable));
// }

Drawable backgroundDrawable = typedArray.getDrawable(R.styleable.SwipeButton_inner_text_background);

if (backgroundDrawable != null) {
Expand Down

0 comments on commit e39c481

Please sign in to comment.