Fix build break.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-09-19 09:35:19 -04:00
parent 400f536e37
commit a5ece18e6c
2 changed files with 2 additions and 4 deletions

View file

@ -45,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (nullable DataSource *)dataSourceWithData:(NSData *)data utiType:(NSString *)utiType;
+ (nullable DataSource *)dataSourceWithOversizeText:(NSString *)text;
+ (nullable DataSource *)dataSourceWithOversizeText:(NSString *_Nullable)text;
+ (DataSource *)dataSourceWithSyncMessage:(NSData *)data;

View file

@ -145,10 +145,8 @@ NS_ASSUME_NONNULL_BEGIN
return [self dataSourceWithData:data fileExtension:fileExtension];
}
+ (nullable DataSource *)dataSourceWithOversizeText:(NSString *)text
+ (nullable DataSource *)dataSourceWithOversizeText:(NSString *_Nullable)text
{
OWSAssert(text);
if (!text) {
return nil;
}