mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Merge pull request #688 from patelhiren/main
Fix thumbnails failing to load on tvOS
This commit is contained in:
commit
fa712d8177
@ -154,7 +154,12 @@ struct YatteeApp: App {
|
|||||||
#if DEBUG
|
#if DEBUG
|
||||||
SiestaLog.Category.enabled = .common
|
SiestaLog.Category.enabled = .common
|
||||||
#endif
|
#endif
|
||||||
SDImageCodersManager.shared.addCoder(SDImageAWebPCoder.shared)
|
#if os(tvOS)
|
||||||
|
SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared)
|
||||||
|
#else
|
||||||
|
SDImageCodersManager.shared.addCoder(SDImageAWebPCoder.shared)
|
||||||
|
#endif
|
||||||
|
|
||||||
SDWebImageManager.defaultImageCache = PINCache(name: "stream.yattee.app")
|
SDWebImageManager.defaultImageCache = PINCache(name: "stream.yattee.app")
|
||||||
|
|
||||||
if !Defaults[.lastAccountIsPublic] {
|
if !Defaults[.lastAccountIsPublic] {
|
||||||
|
Loading…
Reference in New Issue
Block a user