FetchBodyPart doesn't need the parent body structure
This commit is contained in:
parent
bae678e8f2
commit
13a6a3fa71
9 changed files with 24 additions and 29 deletions
widgets
|
@ -653,8 +653,7 @@ func (pv *PartViewer) Draw(ctx *ui.Context) {
|
|||
return
|
||||
}
|
||||
if !pv.fetched {
|
||||
pv.msg.FetchBodyPart(pv.msg.BodyStructure(),
|
||||
pv.index, pv.SetSource)
|
||||
pv.msg.FetchBodyPart(pv.index, pv.SetSource)
|
||||
pv.fetched = true
|
||||
}
|
||||
if pv.err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue