summaryrefslogtreecommitdiff
path: root/Jel/JelApp.swift
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-12-23 11:14:53 -0500
committerShav Kinderlehrer <[email protected]>2023-12-23 11:14:53 -0500
commita25acb1219d506351717edef8ad728abcdaf50f9 (patch)
tree096894c4bd043aa043ecf49c6f35a0dbf97267df /Jel/JelApp.swift
parent885615d1dd029138700c36bb8b23d211cf713811 (diff)
downloadjel-a25acb1219d506351717edef8ad728abcdaf50f9.tar.gz
jel-a25acb1219d506351717edef8ad728abcdaf50f9.zip
Use asyncImage for libraryIcons
Diffstat (limited to 'Jel/JelApp.swift')
-rw-r--r--Jel/JelApp.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jel/JelApp.swift b/Jel/JelApp.swift
index 5dce28d..bb3fe1e 100644
--- a/Jel/JelApp.swift
+++ b/Jel/JelApp.swift
@@ -21,6 +21,7 @@ struct JelApp: App {
ContentView()
.environmentObject(jellyfinClientController)
.task {
+ URLCache.shared.diskCapacity = 1_000_000_000 // 1GB cache for images
AuthStateController.shared.load()
SettingsController.shared.load()
jellyfinClientController.setUrl(url: AuthStateController.shared.serverUrl)