refactor: Improve code in EQNManager and remove dead code

This commit is contained in:
Andrea Busi
2020-09-21 16:10:52 +02:00
parent 8a4f6436f0
commit 3b93ab84ce
10 changed files with 66 additions and 269 deletions
@@ -142,7 +142,7 @@ class SubscriptionsViewController: UITableViewController {
}
private func checkDiscountPrice() -> Bool {
let downloaded = EQNManager.default().rete_smartphone?.subscriptionsDiscounted
let downloaded = EQNManager.manager().rete_smartphone?.subscriptionsDiscounted
return downloaded ?? false
}