~ghost08/libphoton

176ae2aa3d1bf9ec586f6315bf47feaff6a61e6b — VladimĂ­r Magyar 2 years ago 4b6ea95 master
Fix article download if the article is already closed
1 files changed, 3 insertions(+), 0 deletions(-)

M card.go
M card.go => card.go +3 -0
@@ 80,6 80,9 @@ func (card *Card) OpenArticle() {
		card.photon.ImgDownloader.Download(
			card.photon.OpenedArticle.Image,
			func(img image.Image) {
				if card.photon.OpenedArticle == nil {
					return
				}
				card.photon.OpenedArticle.TopImage = img
				card.photon.cb.Redraw()
			},