From d5c818968812aabdd60990f4e03fa466de84e574 Mon Sep 17 00:00:00 2001 From: Sjmarf <78750526+Sjmarf@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:13:23 +0000 Subject: [PATCH] Update Profile2Providing+Extensions.swift --- .../Content Models/Profile2Providing+Extensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mlem/App/Utility/Extensions/Content Models/Profile2Providing+Extensions.swift b/Mlem/App/Utility/Extensions/Content Models/Profile2Providing+Extensions.swift index 1093cf5a6..5cd608506 100644 --- a/Mlem/App/Utility/Extensions/Content Models/Profile2Providing+Extensions.swift +++ b/Mlem/App/Utility/Extensions/Content Models/Profile2Providing+Extensions.swift @@ -12,7 +12,7 @@ extension Profile2Providing { var isCakeDay: Bool { created.isAnniversaryToday } var createdRecently: Bool { - var intervalSinceCreation = Date.now.timeIntervalSince(created) + let intervalSinceCreation = Date.now.timeIntervalSince(created) return intervalSinceCreation < 30 * 24 * 60 * 60 } }