Closes #249: add Rescan Library to settings menu

This commit is contained in:
Drew Weymouth
2023-09-25 16:38:02 -07:00
parent 3321540bd3
commit f84a03c703
4 changed files with 14 additions and 0 deletions
+5
View File
@@ -120,6 +120,11 @@ func (b *BrowsingPane) AddSettingsMenuItem(label string, action func()) {
fyne.NewMenuItem(label, action))
}
func (b *BrowsingPane) AddSettingsMenuSeparator() {
b.settingsMenu.Items = append(b.settingsMenu.Items,
fyne.NewMenuItemSeparator())
}
func (b *BrowsingPane) AddNavigationButton(icon fyne.Resource, action func()) {
b.navBtnsContainer.Add(widget.NewButtonWithIcon("", icon, action))
}