Skip to content

Commit

Permalink
unify initials generation
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Jan 9, 2025
1 parent 854bb99 commit adff7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DcWidget/DcWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct ChatShortcutView: View {
} else if let colorImage = UIImage(color: chat.color, size: CGSize(width: 56, height: 56)) {
ZStack {
Image(uiImage: colorImage)
Text(chat.title.first?.uppercased() ?? "🫶")
Text(DcUtils.getInitials(inputName: chat.title))
.foregroundStyle(.white)
.font(.system(size: 34))
}
Expand Down

0 comments on commit adff7bb

Please sign in to comment.