Clean up CountryCodeViewController delegates.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 867eb7d741
commit 61de84a203

@ -215,6 +215,9 @@ static NSString *const kCodeSentSegue = @"codeSent";
countryName:(NSString *)countryName
callingCode:(NSString *)callingCode
{
OWSAssert(countryCode.length > 0);
OWSAssert(countryName.length > 0);
OWSAssert(callingCode.length > 0);
[self updateCountryWithName:countryName callingCode:callingCode countryCode:countryCode];

@ -414,6 +414,9 @@ NSString *const kSelectRecipientViewControllerCellIdentifier = @"kSelectRecipien
countryName:(NSString *)countryName
callingCode:(NSString *)callingCode
{
OWSAssert(countryCode.length > 0);
OWSAssert(countryName.length > 0);
OWSAssert(callingCode.length > 0);
[self updateCountryWithName:countryName callingCode:callingCode countryCode:countryCode];

Loading…
Cancel
Save