Skip to content

Commit

Permalink
Add back ability to long press title bar to go to system contact.
Browse files Browse the repository at this point in the history
Resolves #13372
  • Loading branch information
fm-sys authored and alex-signal committed May 8, 2024
1 parent a71faf6 commit b2efc42
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -1328,6 +1328,13 @@ class ConversationFragment :
optionsMenuCallback.handleConversationSettings()
}
}

if (recipient.isSystemContact) {
titleView.setOnLongClickListener {
startActivity(Intent(Intent.ACTION_VIEW, recipient.contactUri))
return@setOnLongClickListener true
}
}
}

private fun presentWallpaper(chatWallpaper: ChatWallpaper?) {
Expand Down

0 comments on commit b2efc42

Please sign in to comment.