Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
HOTFIX Fix iOS image loading
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanOezkan committed Jan 30, 2020
1 parent de77861 commit 8b682e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/Classes/DCWrapper/DcChat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/DCWrapper/DcContact.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b682e3

Please sign in to comment.