Add back ability to long press title bar to go to system contact.

Resolves #13372
This commit is contained in:
fm-sys
2024-01-20 17:03:20 +01:00
committed by Alex Hart
parent a71faf674d
commit b2efc42357

View File

@@ -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?) {