From c670fb46d6fd64bcc7e54d1ea775d8468d6f444d Mon Sep 17 00:00:00 2001 From: Aleksi Lahikainen Date: Tue, 8 Sep 2020 16:32:41 +0300 Subject: [PATCH] Fix indendations not visible in editor --- src/ios/FileOpener2.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index 8538ac0..b02cf0e 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -90,11 +90,11 @@ NSString* callbackId = nil; if ([command.arguments count] >= 4) { NSArray *positionValues = [command.arguments objectAtIndex:3]; - if (![positionValues isEqual:[NSNull null]] && [positionValues count] >= 2) { + if (![positionValues isEqual:[NSNull null]] && [positionValues count] >= 2) { rect = CGRectMake(0, 0, [[positionValues objectAtIndex:0] floatValue], [[positionValues objectAtIndex:1] floatValue]); } else { rect = CGRectMake(0, 0, 0, 0); - } + } } else { rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height); }