Skip to content

Commit 0fee3b2

Browse files
committed
Allow null attribute set for rounded button
1 parent 1005b7d commit 0fee3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/buffer/android/components/RoundedButton.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import com.google.android.material.button.MaterialButton
1010

1111
class RoundedButton @JvmOverloads constructor(
1212
context: Context,
13-
attrs: AttributeSet,
13+
attrs: AttributeSet? = null,
1414
defStyleAttr: Int = 0
1515
) : MaterialButton(ContextThemeWrapper(context, R.style.RoundedButtonStyle), attrs, defStyleAttr) {
1616

0 commit comments

Comments
 (0)