File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
assists-web/src/main/java/com/ven/assists/web Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class ASJavascriptInterface(val webView: WebView) {
8383 runCatching {
8484 val request = GsonUtils .fromJson<CallRequest <JsonObject >>(requestJson, object : TypeToken <CallRequest <JsonObject >>() {}.type)
8585 when (request.method) {
86- CallMethod .addWebFloatingWindow -> {
86+ CallMethod .loadWebViewOverlay -> {
8787 CoroutineWrapper .launch(isMain = true ) {
8888 val url = request.arguments?.get(" url" )?.asString ? : " "
8989 val initialWidth = request.arguments?.get(" initialWidth" )?.asInt ? : (ScreenUtils .getScreenWidth() * 0.8 ).toInt()
Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ object CallMethod {
3838 const val takeScreenshot = " takeScreenshot"
3939 const val setOverlayFlags = " setOverlayFlags"
4040 const val scanQR = " scanQR"
41- const val addWebFloatingWindow = " addWebFloatingWindow "
41+ const val loadWebViewOverlay = " loadWebViewOverlay "
4242 const val getLocalDomain = " getLocalDomain"
4343}
You can’t perform that action at this time.
0 commit comments