Chore: status line, linter complaints

This commit is contained in:
Grail Finder
2026-02-21 10:15:36 +03:00
parent 1675af98d4
commit 85b11fa9ff
5 changed files with 26 additions and 26 deletions

View File

@@ -388,7 +388,7 @@ func showFileCompletionPopup(filter string) {
app.SetFocus(widget)
}
func updateWidgetColors(theme tview.Theme) {
func updateWidgetColors(theme *tview.Theme) {
bgColor := theme.PrimitiveBackgroundColor
fgColor := theme.PrimaryTextColor
borderColor := theme.BorderColor
@@ -476,7 +476,7 @@ func showColorschemeSelectionPopup() {
tview.Styles = theme
go func() {
app.QueueUpdateDraw(func() {
updateWidgetColors(theme)
updateWidgetColors(&theme)
})
}()
}