修复心愿单高度异常问题

This commit is contained in:
2022-11-24 13:45:59 +08:00
parent 32881d3f35
commit a2ad006a7e
3 changed files with 8 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
@Override
public void onPageFinished(WebView view, String url) {
view.loadUrl("javascript:window.androidObject.setHeight(document.body.clientHeight,document.body.clientWidth)");
view.loadUrl("javascript:window.androidObject.setHeight(document.body.clientHeight,document.body.clientWidth,true)");
if (listener != null) {
listener.onShow(LiveHDDialogFragment.this.getDialog());
listener = null;