Skip to content

Commit

Permalink
feat: removed deprecated UIWebView fixes dfmuir#69
Browse files Browse the repository at this point in the history
  • Loading branch information
matrad authored Oct 12, 2020
1 parent cc7aa47 commit 11f724f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KINWebBrowser/KINWebBrowserViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ - (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWe

- (void)updateToolbarState {

BOOL canGoBack = self.wkWebView.canGoBack
BOOL canGoForward = self.wkWebView.canGoForward
BOOL canGoBack = self.wkWebView.canGoBack;
BOOL canGoForward = self.wkWebView.canGoForward;

[self.backButton setEnabled:canGoBack];
[self.forwardButton setEnabled:canGoForward];
Expand Down

0 comments on commit 11f724f

Please sign in to comment.