Skip to content

Commit fc7ea27

Browse files
authored
fix(ios): Remove unused code (#281)
The path doesn't include query params, so no need to remove them
1 parent 3d36a3c commit fc7ea27

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ios/IONAssetHandler.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ - (void)webView:(WKWebView *)webView startURLSchemeTask:(id <WKURLSchemeTask>)ur
1616
NSString * scheme = url.scheme;
1717

1818
if ([scheme isEqualToString:IONIC_SCHEME]) {
19-
NSRange range = [stringToLoad rangeOfString:@"?"];
20-
if (range.location != NSNotFound) {
21-
stringToLoad = [stringToLoad substringToIndex:range.location];
22-
}
23-
2419
if ([stringToLoad hasPrefix:@"/_app_file_"]) {
2520
startPath = [stringToLoad stringByReplacingOccurrencesOfString:@"/_app_file_" withString:@""];
2621
} else {

0 commit comments

Comments
 (0)