write peer details on first render

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-06-26 22:55:15 -04:00 committed by Jakub
parent 39c5461495
commit 4d7b92f743
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ func (p *PeersState) FetchLoop(g *gocui.Gui) {
default:
peers := p.Fetch()
writePeers(g, peers)
writePeerDetails(g, p.selected)
}
<-time.After(interval * time.Second)
}