mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-01 16:06:59 +00:00
- changed default cache media settings to 7 days.
This commit is contained in:
parent
f6858dfc94
commit
43694a7cdb
@ -11,7 +11,7 @@ public struct CacheStorageSettings: PreferencesEntry, Equatable {
|
||||
public let defaultCacheStorageTimeout: Int32
|
||||
|
||||
public static var defaultSettings: CacheStorageSettings {
|
||||
return CacheStorageSettings(defaultCacheStorageTimeout: Int32.max)
|
||||
return CacheStorageSettings(defaultCacheStorageTimeout: 7 * 60 * 60 * 24)
|
||||
}
|
||||
|
||||
init(defaultCacheStorageTimeout: Int32) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user