Skip to content

Added phone number of blocked content to tableviewcell. #6016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarlowBrown
Copy link
Contributor

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 12, iOS 18.3.2

Description

This fixes #4914 by adding in the phone number of the blocked contact to the blocked contacts view. I'm uncertain whether the UI/UX engineer thinks it should be in this layout (Does there happen to be a function to prettify the phone number?) or not. I've provided a picture so that you don't have to pull and run this branch.

Screenshot 2025-03-31 at 8 05 00 PM

(cherry picked from commit 9d87f642c1f317c588c608b980687a8737ea3781)
@@ -99,6 +99,7 @@ class BlockListViewController: OWSTableViewController2 {
address: address,
localUserDisplayMode: .asUser
)
config.accessoryMessage = address.phoneNumber //Is there a function to prettify a phone number?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
config.accessoryMessage = address.phoneNumber //Is there a function to prettify a phone number?
config.accessoryMessage = address.phoneNumber // Is there a function to prettify a phone number?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants