Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2817fad5 authored by Jared Fuchs's avatar Jared Fuchs
Browse files

Switch DismissView to non-deprecated setBackground.

Change-Id: I76164bd01eb2d999d75f0d99324c9cb30ca1adbd
Flag: EXEMPT PURE_REFACTOR
parent e16e1b3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ class DismissView(context: Context) : FrameLayout(context) {

        // Setup gradient
        gradientDrawable = createGradient(color = config.floatingGradientColorResId)
        setBackgroundDrawable(gradientDrawable)
        setBackground(gradientDrawable)

        // Setup DismissCircleView
        circle.id = config.dismissViewResId