Use correct icons on timeline swipe for unread and starred

This commit is contained in:
Maurice Parker 2019-09-18 02:57:32 -05:00
parent a2264cad98
commit 36f4366e70
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
completionHandler(true)
}
readAction.image = AppAssets.circleClosedImage
readAction.image = article.status.read ? AppAssets.circleClosedImage : AppAssets.circleOpenImage
readAction.backgroundColor = AppAssets.primaryAccentColor
// Set up the star action
@ -195,7 +195,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
completionHandler(true)
}
starAction.image = AppAssets.starClosedImage
starAction.image = article.status.starred ? AppAssets.starOpenImage : AppAssets.starClosedImage
starAction.backgroundColor = AppAssets.starColor
// Set up the read action