aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msgstore.go1
-rw-r--r--lib/ui/borders.go7
-rw-r--r--lib/ui/tab.go5
3 files changed, 5 insertions, 8 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index fd67c79c..dc000de7 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -23,7 +23,6 @@ type MessageStore struct {
threads []*types.Thread
selectedUid uint32
- reselect *models.MessageInfo
bodyCallbacks map[uint32][]func(*types.FullMessage)
headerCallbacks map[uint32][]func(*types.MessageInfo)
diff --git a/lib/ui/borders.go b/lib/ui/borders.go
index 8d381b91..2c689886 100644
--- a/lib/ui/borders.go
+++ b/lib/ui/borders.go
@@ -15,10 +15,9 @@ const (
type Bordered struct {
Invalidatable
- borders uint
- content Drawable
- onInvalidate func(d Drawable)
- uiConfig *config.UIConfig
+ borders uint
+ content Drawable
+ uiConfig *config.UIConfig
}
func NewBordered(
diff --git a/lib/ui/tab.go b/lib/ui/tab.go
index bcad23c2..0c6b3f5b 100644
--- a/lib/ui/tab.go
+++ b/lib/ui/tab.go
@@ -20,17 +20,16 @@ type Tabs struct {
uiConfig *config.UIConfig
- onInvalidateStrip func(d Drawable)
+ onInvalidateStrip func(d Drawable) //nolint:structcheck // used within this file
onInvalidateContent func(d Drawable)
- parent *Tabs
+ parent *Tabs //nolint:structcheck // used within this file
CloseTab func(index int)
}
type Tab struct {
Content Drawable
Name string
- invalid bool
pinned bool
indexBeforePin int
uiConf *config.UIConfig