mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fix clearCache method on VoiceMessageAttachmentCacheManager
This commit is contained in:
@@ -137,7 +137,7 @@ class VoiceMessageAttachmentCacheManager {
|
||||
durations.removeAll()
|
||||
finalURLs.removeAll()
|
||||
|
||||
if FileManager.default.fileExists(atPath: temporaryFilesFolderURL.absoluteString) {
|
||||
if FileManager.default.fileExists(atPath: temporaryFilesFolderURL.path) {
|
||||
do {
|
||||
try FileManager.default.removeItem(at: temporaryFilesFolderURL)
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user