Add gv2 member status indicators.
This commit is contained in:
parent
48d4501f96
commit
46271e4247
@ -480,12 +480,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (nullable NSAttributedString *)recipientPicker:(RecipientPickerViewController *)recipientPickerViewController
|
||||
attributedSubtitleForRecipient:(PickedRecipient *)recipient
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)recipientPickerTableViewWillBeginDragging:(RecipientPickerViewController *)recipientPickerViewController
|
||||
{
|
||||
[self.groupNameTextField resignFirstResponder];
|
||||
|
||||
@ -120,11 +120,6 @@ extension AddToBlockListViewController: RecipientPickerDelegate {
|
||||
return nil
|
||||
}
|
||||
|
||||
func recipientPicker(_ recipientPickerViewController: RecipientPickerViewController,
|
||||
attributedSubtitleForRecipient recipient: PickedRecipient) -> NSAttributedString? {
|
||||
return nil
|
||||
}
|
||||
|
||||
func recipientPickerTableViewWillBeginDragging(_ recipientPickerViewController: RecipientPickerViewController) {}
|
||||
|
||||
func recipientPickerNewGroupButtonWasPressed() {}
|
||||
|
||||
@ -125,11 +125,6 @@ extension ComposeViewController: RecipientPickerDelegate {
|
||||
return nil
|
||||
}
|
||||
|
||||
func recipientPicker(_ recipientPickerViewController: RecipientPickerViewController,
|
||||
attributedSubtitleForRecipient recipient: PickedRecipient) -> NSAttributedString? {
|
||||
return nil
|
||||
}
|
||||
|
||||
func recipientPickerTableViewWillBeginDragging(_ recipientPickerViewController: RecipientPickerViewController) {}
|
||||
|
||||
func recipientPickerNewGroupButtonWasPressed() {
|
||||
|
||||
@ -30,8 +30,9 @@ protocol RecipientPickerDelegate: AnyObject {
|
||||
func recipientPicker(_ recipientPickerViewController: RecipientPickerViewController,
|
||||
accessoryViewForRecipient recipient: PickedRecipient) -> UIView?
|
||||
|
||||
func recipientPicker(_ recipientPickerViewController: RecipientPickerViewController,
|
||||
attributedSubtitleForRecipient recipient: PickedRecipient) -> NSAttributedString?
|
||||
@objc
|
||||
optional func recipientPicker(_ recipientPickerViewController: RecipientPickerViewController,
|
||||
attributedSubtitleForRecipient recipient: PickedRecipient) -> NSAttributedString?
|
||||
|
||||
func recipientPickerTableViewWillBeginDragging(_ recipientPickerViewController: RecipientPickerViewController)
|
||||
|
||||
@ -137,7 +138,7 @@ extension RecipientPickerViewController {
|
||||
cell.setAccessoryMessage(accessoryMessage)
|
||||
}
|
||||
|
||||
if let attributedSubtitle = delegate.recipientPicker(self, attributedSubtitleForRecipient: recipient) {
|
||||
if let attributedSubtitle = delegate.recipientPicker?(self, attributedSubtitleForRecipient: recipient) {
|
||||
cell.setAttributedSubtitle(attributedSubtitle)
|
||||
}
|
||||
}
|
||||
|
||||
@ -558,12 +558,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (nullable NSAttributedString *)recipientPicker:(RecipientPickerViewController *)recipientPickerViewController
|
||||
attributedSubtitleForRecipient:(PickedRecipient *)recipient
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)recipientPickerTableViewWillBeginDragging:(RecipientPickerViewController *)recipientPickerViewController
|
||||
{
|
||||
[self.groupNameTextField resignFirstResponder];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user