Skip to content

Commit

Permalink
also clone chat avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Nov 12, 2023
1 parent ccce42a commit b10487e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deltachat-ios/Controller/NewGroupController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ class NewGroupController: UITableViewController, MediaPickerDelegate {
}
if let templateChat = self.templateChat {
groupNameCell.textField.text = templateChat.name
if !createBroadcast, let image = templateChat.profileImage {
avatarSelectionCell = AvatarSelectionCell(image: image)
changeGroupImage = image
}
}
doneButton = UIBarButtonItem(title: String.localized("create"), style: .done, target: self, action: #selector(doneButtonPressed))
navigationItem.rightBarButtonItem = doneButton
Expand Down

0 comments on commit b10487e

Please sign in to comment.