mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Storage management improvements
This commit is contained in:
@@ -1267,7 +1267,7 @@ final class StorageUsageScreenComponent: Component {
|
||||
let value = self.cacheSettings?.categoryStorageTimeout[mappedCategory] ?? Int32.max
|
||||
let optionText: String
|
||||
if value == Int32.max {
|
||||
optionText = environment.strings.ClearCache_Forever
|
||||
optionText = environment.strings.ClearCache_Never
|
||||
} else {
|
||||
optionText = timeIntervalString(strings: environment.strings, value: value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user