Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Nov 27, 2020
1 parent e5f30d6 commit 786799f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialog/color.go
Expand Up @@ -21,7 +21,7 @@ type ColorPickerDialog struct {
Advanced bool
color color.Color
callback func(c color.Color)
advanced *widget.AccordionContainer
advanced *widget.Accordion
picker *colorAdvancedPicker
}

Expand Down Expand Up @@ -94,7 +94,7 @@ func (p *ColorPickerDialog) updateUI() {
p.picker = newColorAdvancedPicker(p.color, func(c color.Color) {
p.color = c
})
p.advanced = widget.NewAccordionContainer(widget.NewAccordionItem("Advanced", p.picker))
p.advanced = widget.NewAccordion(widget.NewAccordionItem("Advanced", p.picker))

p.dialog.content = fyne.NewContainerWithLayout(layout.NewVBoxLayout(),
fyne.NewContainerWithLayout(layout.NewCenterLayout(),
Expand Down

0 comments on commit 786799f

Please sign in to comment.