mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Notification Placeholder Image Caching (#1248)
* placeholder image caching * code improvement * code is now clearer
This commit is contained in:
@@ -44,7 +44,8 @@ extension FileManager {
|
||||
|
||||
return newURL
|
||||
}
|
||||
|
||||
|
||||
@discardableResult
|
||||
func writeDataToTemporaryDirectory(data: Data, fileName: String) throws -> URL {
|
||||
let newURL = URL.temporaryDirectory.appendingPathComponent(fileName)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user