From 8d743617cb8fa321ffb973031cb067a503b10ef9 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 17 Feb 2022 21:55:22 -0800 Subject: [PATCH] Use the new verticalScrollIndicatorInsets instead of scrollIndicatorInsets --- apple/OmnivoreKit/Sources/Views/Article/WebAppView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/Views/Article/WebAppView.swift b/apple/OmnivoreKit/Sources/Views/Article/WebAppView.swift index e65cda9ff..261ed3604 100644 --- a/apple/OmnivoreKit/Sources/Views/Article/WebAppView.swift +++ b/apple/OmnivoreKit/Sources/Views/Article/WebAppView.swift @@ -35,7 +35,7 @@ import WebKit webView.configuration.userContentController = contentController webView.scrollView.delegate = context.coordinator webView.scrollView.contentInset.top = LinkItemDetailView.navBarHeight - webView.scrollView.scrollIndicatorInsets = UIEdgeInsets(top: LinkItemDetailView.navBarHeight, left: 0, bottom: 0, right: 0) + webView.scrollView.verticalScrollIndicatorInsets = UIEdgeInsets(top: LinkItemDetailView.navBarHeight, left: 0, bottom: 0, right: 0) for action in WebViewAction.allCases { webView.configuration.userContentController.add(context.coordinator, name: action.rawValue)