minor improvement on pre-sending file page icon

This commit is contained in:
Ryan Zhao 2021-12-07 15:53:58 +11:00
parent 300f6f50cf
commit 6225c12ced
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "doc_large.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View file

@ -269,7 +269,8 @@ public class MediaMessageView: UIView, OWSAudioPlayerDelegate {
private func createGenericPreview() {
var subviews = [UIView]()
let imageView = createHeroImageView(imageName: "actionsheet_document_black")
let imageView = createHeroImageView(imageName: "FileLarge")
imageView.contentMode = .center
subviews.append(imageView)
let fileNameLabel = createFileNameLabel()