widget: update preview
Update the widget preview to reflect the UI tweaks made.
This commit is contained in:
@@ -37,8 +37,7 @@ abstract class LifecycleDialog : AppCompatDialogFragment() {
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
val builder = MaterialAlertDialogBuilder(requireActivity(), theme)
|
||||
|
||||
// Setting the background in XML will also apply it to the tooltip for some insane reason
|
||||
// so we have to do it programmatically instead.
|
||||
// Apply a custom background to avoid rounded corners.
|
||||
builder.background = R.attr.colorSurface.resolveAttr(requireContext()).toDrawable()
|
||||
|
||||
onConfigDialog(builder)
|
||||
|
||||
Reference in New Issue
Block a user