Move ratings code to app level.
This commit is contained in:
9 files changed
+371
-25
No files matched your search
@@ -32,9 +32,9 @@ class GeneralPrefsViewController: NSViewController {
|
||||
}
|
||||
|
||||
@IBAction func updateRatingsCountry(_ sender: Any) {
|
||||
MP42Ratings.defaultManager.updateCountry()
|
||||
// Unused
|
||||
}
|
||||
|
||||
@objc dynamic var ratingsCountries: [String] { return MP42Ratings.defaultManager.ratingsCountries }
|
||||
@objc dynamic var ratingsCountries: [String] { return Ratings.shared.countries.map { $0.displayName } }
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user