Updates PillButton appearance

This commit is contained in:
Riley Testut
2019-10-23 14:20:01 -07:00
parent 6ea8503c3d
commit 6f58cb9579
6 changed files with 6 additions and 18 deletions

View File

@@ -347,12 +347,10 @@ private extension AppViewController
if self.app.installedApp == nil
{
button.setTitle(NSLocalizedString("FREE", comment: ""), for: .normal)
button.isInverted = false
}
else
{
button.setTitle(NSLocalizedString("OPEN", comment: ""), for: .normal)
button.isInverted = true
}
let progress = AppManager.shared.installationProgress(for: self.app)