diff --git a/Signal/Images.xcassets/official_wallpaper_reduced.imageset/Contents.json b/Signal/Images.xcassets/official-wallpaper.imageset/Contents.json similarity index 78% rename from Signal/Images.xcassets/official_wallpaper_reduced.imageset/Contents.json rename to Signal/Images.xcassets/official-wallpaper.imageset/Contents.json index 74c2bee15c..919cb123b9 100644 --- a/Signal/Images.xcassets/official_wallpaper_reduced.imageset/Contents.json +++ b/Signal/Images.xcassets/official-wallpaper.imageset/Contents.json @@ -1,7 +1,7 @@ { "images" : [ { - "filename" : "official_wallpaper_reduced.pdf", + "filename" : "official-wallpaper.pdf", "idiom" : "universal" } ], diff --git a/Signal/Images.xcassets/official-wallpaper.imageset/official-wallpaper.pdf b/Signal/Images.xcassets/official-wallpaper.imageset/official-wallpaper.pdf new file mode 100644 index 0000000000..6b55f964b8 Binary files /dev/null and b/Signal/Images.xcassets/official-wallpaper.imageset/official-wallpaper.pdf differ diff --git a/Signal/Images.xcassets/official_wallpaper_reduced.imageset/official_wallpaper_reduced.pdf b/Signal/Images.xcassets/official_wallpaper_reduced.imageset/official_wallpaper_reduced.pdf deleted file mode 100644 index 7801cd0e3c..0000000000 Binary files a/Signal/Images.xcassets/official_wallpaper_reduced.imageset/official_wallpaper_reduced.pdf and /dev/null differ diff --git a/SignalUI/Wallpapers/Wallpaper+SignalUI.swift b/SignalUI/Wallpapers/Wallpaper+SignalUI.swift index 8e2cc15521..99673dcdea 100644 --- a/SignalUI/Wallpapers/Wallpaper+SignalUI.swift +++ b/SignalUI/Wallpapers/Wallpaper+SignalUI.swift @@ -147,7 +147,7 @@ public class WallpaperView { } return imageView case .releaseNotesView: - let image = UIImage(named: "official_wallpaper_reduced") + let image = UIImage(named: "official-wallpaper") let imageView = UIImageView(image: image) if Theme.isDarkThemeEnabled { imageView.tintColor = UIColor(rgbHex: 0x272C3C) @@ -156,6 +156,8 @@ public class WallpaperView { imageView.tintColor = UIColor(rgbHex: 0xE3E4E9) imageView.backgroundColor = UIColor(rgbHex: 0xE8EAF8).withAlphaComponent(0.4) } + imageView.contentMode = .scaleAspectFill + imageView.clipsToBounds = true return imageView } }()