diff --git a/apps/ios/SimpleXChat/ChatTypes.swift b/apps/ios/SimpleXChat/ChatTypes.swift index c9273e30f8..84bf445601 100644 --- a/apps/ios/SimpleXChat/ChatTypes.swift +++ b/apps/ios/SimpleXChat/ChatTypes.swift @@ -2775,7 +2775,7 @@ public func formatTimestampMeta(_ date: Date) -> String { private func recent(_ date: Date) -> Bool { let now = Date() let calendar = Calendar.current - + guard let previousDay = calendar.date(byAdding: DateComponents(day: -1), to: now), let previousDay18 = calendar.date(bySettingHour: 18, minute: 0, second: 0, of: previousDay), let currentDay00 = calendar.date(bySettingHour: 0, minute: 0, second: 0, of: now),