Commit e826af36 by amateur

1

1 parent a8967bac
......@@ -58,6 +58,7 @@ public class NativeApi {
dataMap.put("versionCode", packageInfo.versionCode);
dataMap.put("versionName", packageInfo.versionName);
dataMap.put("statusBarHeight", StatusBarUtils.getStatusBarHeight(mActivity));
dataMap.put("module", handler.getFragment().getTag());
js.success(dataMap);
});
}
......
......@@ -53,7 +53,7 @@ public class OutsideWebviewActivity extends WebviewActivity {
FragmentManager manager = getSupportFragmentManager();
this.mFragment = WebViewFragment.newInstance(this.getUrl());
FragmentTransaction transaction = manager.beginTransaction();
transaction.replace(containerId, this.mFragment, "outside_webview").commitNow();
transaction.replace(containerId, this.mFragment, "outside").commitNow();
}
private void initNavTitle() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!