Merge pull request #381 from mpretty-cyro/fix/default-display-picture-not-updating

Fixed a bug where changing the display name wouldn't result in a default display pic update
pull/1061/head
Morgan Pretty 10 months ago committed by GitHub
commit fd2b9b92ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -60,7 +60,7 @@ public class PlaceholderIcon {
.compactMap { word in word.first.map { String($0) } }
.joined()
return SNUIKit.placeholderIconCacher(cacheKey: "\(seed)-\(Int(floor(size)))") {
return SNUIKit.placeholderIconCacher(cacheKey: "\(seed)-\(initials)-\(Int(floor(size)))") {
let layer = icon.generateLayer(
with: size,
text: (initials.count >= 2 ?

Loading…
Cancel
Save