Skip to content

Commit

Permalink
refactor: remove unnecessary null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Oct 3, 2024
1 parent 2759e05 commit b2dab78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/swmansion/rnscreens/Screen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ class Screen(
if (stackPresentation !== StackPresentation.FORM_SHEET || background == null) {
return
}
(background as? MaterialShapeDrawable?)?.let {
(background as MaterialShapeDrawable?)?.let {
it.shapeAppearanceModel =
ShapeAppearanceModel
.Builder()
Expand Down

0 comments on commit b2dab78

Please sign in to comment.