mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
f30c733ef3
Preferred to the system contact picker because: 1. removes "group" clutter from header, unlikely to be used much. 2. can select while searching 3. fixes unified contact problem where e.g. If only one of your contact has a phone number, they appear disabled when choosing to invite via messaging, even though the other linked contact *does* have a phone number. 4. label users w/o email so it's clearer why they can't be selected Also: * Twitter share-image was too tall // FREEBIE
20 lines
460 B
Objective-C
20 lines
460 B
Objective-C
// Created by Michael Kirk on 9/26/16.
|
|
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class TSThread;
|
|
@class OWSContactsManager;
|
|
@class UIImage;
|
|
|
|
@interface OWSAvatarBuilder : NSObject
|
|
|
|
+ (UIImage *)buildImageForThread:(TSThread *)thread contactsManager:(OWSContactsManager *)contactsManager;
|
|
|
|
- (nullable UIImage *)buildSavedImage;
|
|
- (UIImage *)buildDefaultImage;
|
|
- (UIImage *)build;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|