Skip to content

Commit

Permalink
Fix avatar view showing for a split second in the snapshot view for s…
Browse files Browse the repository at this point in the history
…tatic attachments
  • Loading branch information
nuno-vieira committed Jan 8, 2025
1 parent b36f9d6 commit b24d16d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ class LocationAttachmentSnapshotView: _View, ThemeProvider {
guard let content = self.content else {
return
}

avatarView.isHidden = true

if content.isSharingLiveLocation && content.isFromCurrentUser {
stopButton.isHidden = false
Expand Down

0 comments on commit b24d16d

Please sign in to comment.