Commit 9bdf4eb4 by 霍志良

feat:m-user修改布局

parent 14c5ffdc
...@@ -13,7 +13,7 @@ import io.flutter.view.FlutterView ...@@ -13,7 +13,7 @@ import io.flutter.view.FlutterView
@Route(path = "/tests/home_fragment") @Route(path = "/tests/home_fragment")
class NewTestHomeFragment : BaseFlutterFragment() { class NewTestHomeFragment : BaseFlutterFragment() {
override fun initChannelPlugin(flutterView: FlutterView) { override fun initChannelPlugin(flutterView: FlutterView) {
val statusBarHeight = StatusBarUtils.getStatusBarHeight(context!!); val statusBarHeight = StatusBarUtils.getStatusBarHeight(requireContext());
flutterView.setPadding(0,statusBarHeight,0,0) flutterView.setPadding(0,statusBarHeight,0,0)
TestPlugin.Companion.register(this,flutterView) TestPlugin.Companion.register(this,flutterView)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment