Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit 63aeab8

Browse files
committed
rounded corners for accent color dialog
1 parent 930f37f commit 63aeab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/vanced/manager/ui/dialogs/ManagerAccentColorDialog.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package com.vanced.manager.ui.dialogs
22

33
import android.content.DialogInterface
44
import android.graphics.Color
5+
import android.graphics.drawable.ColorDrawable
56
import android.os.Bundle
67
import android.text.Editable
78
import android.text.TextWatcher
@@ -34,6 +35,7 @@ class ManagerAccentColorDialog : BindingDialogFragment<DialogManagerAccentColorB
3435
) = DialogManagerAccentColorBinding.inflate(inflater, container, false)
3536

3637
override fun otherSetups() {
38+
dialog?.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
3739
bindData()
3840
}
3941

0 commit comments

Comments
 (0)