From 8b682e3906a6a5e1c13dcbd1da017cb87dbedcd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C3=96zkan?= Date: Thu, 30 Jan 2020 15:57:14 +0100 Subject: [PATCH] HOTFIX Fix iOS image loading --- ios/Classes/DCWrapper/DcChat.swift | 2 +- ios/Classes/DCWrapper/DcContact.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/DCWrapper/DcChat.swift b/ios/Classes/DCWrapper/DcChat.swift index 10c5dcd..04ca56d 100644 --- a/ios/Classes/DCWrapper/DcChat.swift +++ b/ios/Classes/DCWrapper/DcChat.swift @@ -105,7 +105,7 @@ class DcChat { let path: URL = URL(fileURLWithPath: filePath, isDirectory: false) if path.isFileURL { - return path.absoluteString + return path.path } return nil diff --git a/ios/Classes/DCWrapper/DcContact.swift b/ios/Classes/DCWrapper/DcContact.swift index e6a5d00..bfa485a 100644 --- a/ios/Classes/DCWrapper/DcContact.swift +++ b/ios/Classes/DCWrapper/DcContact.swift @@ -104,7 +104,7 @@ class DcContact { let path: URL = URL(fileURLWithPath: filePath, isDirectory: false) if path.isFileURL { - return path.absoluteString + return path.path } return nil