---
Hello!
It seems there is a bug in `main` right now. Recently the `ReplyListView` had
its `States` attribute renamed to `ReplyStates`. Some of the attribute
references didn't get updated. This commit addresses that. I have confirmed it
builds on Linux(Ubuntu).
Please let me know if you have any questions of feedback.
Best,
Andrew Thorp
reply-view.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/reply-view.go b/reply-view.go
index c31242c..0f113b6 100644
--- a/reply-view.go+++ b/reply-view.go
@@ -610,8 +610,8 @@ func (c *ReplyListView) processMessagePointerEvents(gtx C) {
data.Populate(reply, c.Arbor().Store())
c.SetFocus(&data)
}
- for i := range c.States.Buffer {- handler := &c.States.Buffer[i]+ for i := range c.ReplyStates.Buffer {+ handler := &c.ReplyStates.Buffer[i] if click, ok := clicked(&handler.Polyclick); ok {
if click.Modifiers.Contain(key.ModCtrl) {
for _, word := range strings.Fields(handler.Content) {
@@ -945,8 +945,8 @@ func (c *ReplyListView) layoutReplyList(gtx layout.Context) layout.Dimensions {
})
if c.replyCount > 0 {
- if c.States.Current > c.maxRepliesVisible {- c.maxRepliesVisible = c.States.Current+ if c.ReplyStates.Current > c.maxRepliesVisible {+ c.maxRepliesVisible = c.ReplyStates.Current }
}
return dims
--
2.17.1