From 66bc4c250caa2063672faa755a9aea8152bf429d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Wed, 15 Jan 2025 10:35:25 +0100 Subject: [PATCH] fix(avatar): Add "sample" actor id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- NextcloudTalk/AvatarManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NextcloudTalk/AvatarManager.swift b/NextcloudTalk/AvatarManager.swift index 1fefb4185..e2e3c4010 100644 --- a/NextcloudTalk/AvatarManager.swift +++ b/NextcloudTalk/AvatarManager.swift @@ -99,7 +99,7 @@ import SDWebImage } private func getBotsAvatar(forId actorId: String, withStyle style: UIUserInterfaceStyle, completionBlock: @escaping (_ image: UIImage?) -> Void) -> SDWebImageCombinedOperation? { - if actorId == "changelog" { + if actorId == "changelog" || actorId == "sample" { let traitCollection = UITraitCollection(userInterfaceStyle: style) completionBlock(UIImage(named: "changelog-avatar", in: nil, compatibleWith: traitCollection)) } else {