--- Fetch commands ---
()
| 336 | requests requestLane[mailRequestKind] |
| 337 | sourceRequestID uint64 |
| 338 | folderDiscoveryErr string |
| 339 | collectionDiscoveryErr string |
| 340 | |
| 341 | liveRequestID uint64 // identifies the only live re-read allowed to update the list |
| 342 | liveRefreshDue bool // a re-read is already on its way |
| 343 | moreRequestID uint64 // identifies the only page-below read allowed to grow the list |
| 344 | searchMoreID uint64 // the same, for the search results |
| 345 | bundleMoreID uint64 // the same, for an open bundle's threads |
| 346 | seenMoreID uint64 // the same, for the Previously Seen screen |
| 347 | } |
| 348 | |
| 349 | func newMailView(vc *viewContext) *mailView { |
| 350 | view := &mailView{ |
| 351 | vc: vc, |
| 352 | topicViewport: viewport.New(viewport.WithWidth(0), viewport.WithHeight(0)), |
| 353 | searchList: contentList{hideSeenState: true}, |
| 354 | bundleList: contentList{hideSeenState: true}, |
| 355 | seenList: contentList{hideSeenState: true}, |
| 356 | selectedLink: -1, |
| 357 | } |
no test coverage detected