Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Dec 31, 2023
1 parent 57dca5f commit 69270ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ public void getCookies(PluginCall call) {
}
}


@PluginMethod
public void openWebView(PluginCall call) {
String url = call.getString("url");
Expand Down
3 changes: 1 addition & 2 deletions ios/Plugin/InAppBrowserPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class InAppBrowserPlugin: CAPPlugin {
}

dataStore.removeData(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes(), for: domainRecords) {
call.resolve();
call.resolve()
}
}
}
Expand All @@ -90,7 +90,6 @@ public class InAppBrowserPlugin: CAPPlugin {
}
}


@objc func openWebView(_ call: CAPPluginCall) {
if !self.isSetupDone {
self.setup()
Expand Down
5 changes: 3 additions & 2 deletions src/web.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { WebPlugin } from "@capacitor/core";

import {
import type {
InAppBrowserPlugin,
OpenWebViewOptions,
OpenOptions,
GetCookieOptions, ClearCookieOptions,
GetCookieOptions,
ClearCookieOptions,
} from "./definitions";

export class InAppBrowserWeb extends WebPlugin implements InAppBrowserPlugin {
Expand Down

0 comments on commit 69270ba

Please sign in to comment.