From 929b1ed3b3d57cd6916610767d0efdf8a557d1a6 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Tue, 17 Nov 2020 18:37:11 -0500 Subject: [PATCH] Remove pointer reference from stashModel.getNotes() It's not altering the model, so removing the pointer reference to reflect that. --- ui/stash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/stash.go b/ui/stash.go index 724d550..13492ef 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -215,7 +215,7 @@ func (m stashModel) countMarkdowns(t markdownType) (found int) { // Returns the stashed markdown notes. When the model state indicates that // filtering is desired, this also filters and ranks the notes by the filter // term in the filterInput field. -func (m *stashModel) getNotes() []*markdown { +func (m stashModel) getNotes() []*markdown { if m.filterInput.Value() == "" { return m.markdowns }