[ios] Review fixes.

This commit is contained in:
Ilya Grechuhin 2016-01-15 16:46:32 +03:00 committed by Sergey Yershov
parent 3b3676d7c4
commit ff991e8bab
3 changed files with 3 additions and 4 deletions

View file

@ -132,7 +132,7 @@ using namespace osm;
if (Platform::IsConnected())
{
[self startSpinner];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^
{
string const username = self.loginTextField.text.UTF8String;
string const password = self.passwordTextField.text.UTF8String;

View file

@ -68,7 +68,7 @@ NSString * getVerifier(NSString * urlString)
- (void)loadAuthorizationPage
{
[self startSpinner];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^
{
// TODO(AlexZ): Change to production.
OsmOAuth auth = OsmOAuth::IZServerAuth();
@ -115,7 +115,7 @@ NSString * getVerifier(NSString * urlString)
- (void)checkAuthorization:(NSString *)verifier
{
[self startSpinner];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^
{
TKeySecret outKeySecret;
// TODO(AlexZ): Change to production.

View file

@ -10,7 +10,6 @@
<customFonts key="customFonts">
<mutableArray key="HelveticaNeue.ttc">
<string>HelveticaNeue-Medium</string>
<string>HelveticaNeue-Medium</string>
</mutableArray>
</customFonts>
<scenes>