Skip to content

Commit

Permalink
chore: tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
lodev09 committed Feb 5, 2025
1 parent 3801ddc commit 9d207b0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions android/src/main/java/com/lodev09/truesheet/TrueSheetDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ class TrueSheetDialog(private val reactContext: ThemedReactContext, private val
*/
fun setupBackground() {
val outerRadii = floatArrayOf(
cornerRadius, cornerRadius,
cornerRadius, cornerRadius,
0f, 0f,
0f, 0f
cornerRadius,
cornerRadius,
cornerRadius,
cornerRadius,
0f,
0f,
0f,
0f
)

val background = ShapeDrawable(RoundRectShape(outerRadii, null, null))
Expand Down

0 comments on commit 9d207b0

Please sign in to comment.