mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
Changes NewsCollectionViewCell image aspect ratio to 3:2
Also updates fonts to use dynamic text styles.
This commit is contained in:
@@ -82,6 +82,16 @@ public class NewsItem: NSManagedObject, Decodable, Fetchable
|
||||
}
|
||||
}
|
||||
|
||||
public extension NewsItem
|
||||
{
|
||||
var globallyUniqueID: String? {
|
||||
guard let sourceIdentifier = self.sourceIdentifier else { return nil }
|
||||
|
||||
let globallyUniqueID = self.identifier + "|" + sourceIdentifier
|
||||
return globallyUniqueID
|
||||
}
|
||||
}
|
||||
|
||||
public extension NewsItem
|
||||
{
|
||||
@nonobjc class func fetchRequest() -> NSFetchRequest<NewsItem>
|
||||
|
||||
Reference in New Issue
Block a user