mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 03:52:51 +08:00
Fix indendations not visible in editor
This commit is contained in:
parent
b5f4b19d71
commit
c670fb46d6
@ -90,11 +90,11 @@ NSString* callbackId = nil;
|
|||||||
if ([command.arguments count] >= 4) {
|
if ([command.arguments count] >= 4) {
|
||||||
NSArray *positionValues = [command.arguments objectAtIndex:3];
|
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]);
|
rect = CGRectMake(0, 0, [[positionValues objectAtIndex:0] floatValue], [[positionValues objectAtIndex:1] floatValue]);
|
||||||
} else {
|
} else {
|
||||||
rect = CGRectMake(0, 0, 0, 0);
|
rect = CGRectMake(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height);
|
rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user