Storage management improvements

This commit is contained in:
Ali
2022-12-25 17:50:45 +04:00
parent 812ad9b030
commit 1e3ab13a1e
3 changed files with 5 additions and 3 deletions

View File

@@ -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)
}