Fix more build warnings.

This commit is contained in:
Matthew Chen 2020-04-09 11:37:44 -03:00
parent 1d1924ccb4
commit b9f8040e6c

View File

@ -559,7 +559,7 @@ NSString *NSStringForViewOnceMessageState(ViewOnceMessageState cellType)
case OWSInteractionType_Error:
case OWSInteractionType_Info:
case OWSInteractionType_Call:
measurementCell = [OWSSystemMessageCell alloc];
measurementCell = [OWSSystemMessageCell new];
break;
case OWSInteractionType_Offer:
measurementCell = [OWSContactOffersCell new];