mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Update the SDK. (#3565)
* Update the SDK. * Add mockMXC URLs to fix all the crashes during tests. * Refactor Voice Messages to not use a MediaSource for local files.
This commit is contained in:
@@ -18,7 +18,8 @@ extension MediaProviderMock {
|
||||
return nil
|
||||
}
|
||||
|
||||
if mediaSource?.url == .picturesDirectory {
|
||||
// At some stage it would be nice to return different images, but for now they can be the same.
|
||||
if mediaSource?.url == .mockMXCImage || mediaSource?.url == .mockMXCAvatar {
|
||||
return Asset.Images.appLogo.image
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user