mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-12 08:13:26 +01:00
Adds basic MyAppsViewController implementation
This commit is contained in:
@@ -59,6 +59,15 @@ private extension AppsViewController
|
||||
cell.developerLabel.text = app.developerName
|
||||
cell.appIconImageView.image = UIImage(named: app.iconName)
|
||||
|
||||
if app.installedApp != nil
|
||||
{
|
||||
cell.button.isEnabled = false
|
||||
cell.button.setTitle(NSLocalizedString("Installed", comment: ""), for: .normal)
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.button.isEnabled = true
|
||||
cell.button.setTitle(NSLocalizedString("Download", comment: ""), for: .normal)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user