Skip to content

Commit f29d8c8

Browse files
committed
Add missing break
1 parent d8b9d8d commit f29d8c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapRecyclerView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public GravitySnapRecyclerView(@NonNull Context context, @Nullable AttributeSet
6666
break;
6767
case 4:
6868
snapHelper = new GravitySnapHelper(Gravity.CENTER);
69+
break;
6970
default:
7071
throw new IllegalArgumentException("Invalid gravity value. Use START " +
7172
"| END | BOTTOM | TOP | CENTER constants");

0 commit comments

Comments
 (0)