Fix unable to send invite via sms (#1188)

* bump release

//FREEBIE

* fix invite over sms alert

Could not present the sms invite alert controller because we were
already presenting the UISearchController

FIXES: #1182

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 4537324fe5
commit da6597118a

@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
@ -40,7 +38,9 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>2.3.0.4</string>
<string>2.3.0.5</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LOGS_EMAIL</key>
<string>support@whispersystems.org</string>
<key>LOGS_URL</key>

@ -341,7 +341,10 @@
sendTextButton.hidden = YES;
self.searchController.searchBar.text = @"";
[self presentViewController:alertController animated:YES completion:[UIUtil modalCompletionBlock]];
//must dismiss search controller before presenting alert.
[self dismissViewControllerAnimated:YES completion:^{
[self presentViewController:alertController animated:YES completion:[UIUtil modalCompletionBlock]];
}];
}
#pragma mark - SMS Composer Delegate

Loading…
Cancel
Save