A year is actually 365 days

This commit is contained in:
Ali 2022-04-02 19:28:14 +04:00
parent 29a82adda8
commit 10f162e082

View File

@ -820,7 +820,7 @@ public func privacyAndSecurityController(context: AccountContext, initialSetting
1 * 30 * 24 * 60 * 60,
3 * 30 * 24 * 60 * 60,
6 * 30 * 24 * 60 * 60,
12 * 30 * 24 * 60 * 60
365 * 24 * 60 * 60
]
let timeoutItems: [ActionSheetItem] = timeoutValues.map { value in
return ActionSheetButtonItem(title: timeIntervalString(strings: presentationData.strings, value: value), action: {