navdata test (requires manual download of data"
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
// Override point for customization after application launch.
|
||||
_dbClient = [[DropboxV2ObjC alloc] init];
|
||||
((AppDelegate *)[UIApplication sharedApplication].delegate).main = self;
|
||||
NSDictionary *credentials =
|
||||
[[NSURLCredentialStorage sharedCredentialStorage]
|
||||
credentialsForProtectionSpace:_dbClient.kDropboxProtectionSpace];
|
||||
|
||||
@@ -264,7 +264,9 @@ NavDataParser *parser = nil;
|
||||
}
|
||||
else {
|
||||
// Right hand LSKs, aka waypoint entry
|
||||
if ([precedingWaypoint.text isEqualToString:@""]) {
|
||||
if ([precedingWaypoint.text isEqualToString:@""] &&
|
||||
![[_Header.text substringToIndex:7]
|
||||
isEqualToString:@"ROUTE 1"]) {
|
||||
// Not allowed
|
||||
NSLog(@"NOT ALLOWED 3");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user