rounded corners for accent color dialog

This commit is contained in:
X1nto 2021-02-05 13:32:43 +04:00
parent 930f37fa17
commit 63aeab827a
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package com.vanced.manager.ui.dialogs
import android.content.DialogInterface
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
@ -34,6 +35,7 @@ class ManagerAccentColorDialog : BindingDialogFragment<DialogManagerAccentColorB
) = DialogManagerAccentColorBinding.inflate(inflater, container, false)
override fun otherSetups() {
dialog?.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
bindData()
}