fix a bug in downloading password image

This commit is contained in:
Bob Sun 2017-02-12 01:58:42 +08:00
parent 6e3a544ba4
commit 010ec3b322
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -104,7 +104,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
indicator.stopAnimating() indicator.stopAnimating()
indicatorLable.isHidden = true indicatorLable.isHidden = true
if let url = password.getURL() { if let url = password.getURL() {
if let _ = self?.passwordEntity?.image { if self?.passwordEntity?.image == nil{
self?.updatePasswordImage(url: url) self?.updatePasswordImage(url: url)
} }
} }