mirror of
https://github.com/Valkyrie00/bold-brew.git
synced 2026-03-14 14:25:53 +01:00
fix: Update search title instead of label during filtering
This commit is contained in:
parent
abc50ff2d7
commit
215daad4fb
1 changed files with 4 additions and 4 deletions
|
|
@ -255,9 +255,9 @@ func (s *InputService) updateFilterUI() {
|
|||
|
||||
if cfg, exists := filterConfig[s.appService.activeFilter]; exists {
|
||||
if s.appService.IsBrewfileMode() {
|
||||
s.layout.GetSearch().Field().SetLabel(baseLabel + " - " + cfg.suffix + "): ")
|
||||
s.layout.GetSearch().Field().SetTitle(baseLabel + " - " + cfg.suffix + ")")
|
||||
} else {
|
||||
s.layout.GetSearch().Field().SetLabel("Search (" + cfg.suffix + "): ")
|
||||
s.layout.GetSearch().Field().SetTitle("Search (" + cfg.suffix + ")")
|
||||
}
|
||||
s.layout.GetLegend().SetLegend(s.legendEntries, cfg.keySlug)
|
||||
return
|
||||
|
|
@ -265,9 +265,9 @@ func (s *InputService) updateFilterUI() {
|
|||
|
||||
// No filter active (FilterNone)
|
||||
if s.appService.IsBrewfileMode() {
|
||||
s.layout.GetSearch().Field().SetLabel(baseLabel + "): ")
|
||||
s.layout.GetSearch().Field().SetTitle(baseLabel + ")")
|
||||
} else {
|
||||
s.layout.GetSearch().Field().SetLabel("Search (All): ")
|
||||
s.layout.GetSearch().Field().SetTitle("Search (All)")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue