From df2c7a73355a0f5fe6f0af992b0b2269be1b0791 Mon Sep 17 00:00:00 2001 From: weikaiyun Date: Tue, 27 Apr 2021 10:41:01 +0800 Subject: [PATCH] bugfix --- .../java/com/common/weikaiyun/demo/ui/main/DemoMainFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/common/weikaiyun/demo/ui/main/DemoMainFragment.kt b/app/src/main/java/com/common/weikaiyun/demo/ui/main/DemoMainFragment.kt index 3ce0550..4174383 100644 --- a/app/src/main/java/com/common/weikaiyun/demo/ui/main/DemoMainFragment.kt +++ b/app/src/main/java/com/common/weikaiyun/demo/ui/main/DemoMainFragment.kt @@ -38,7 +38,7 @@ class DemoMainFragment: BaseSupportFragment() { override fun initView(view: View, savedInstanceState: Bundle?) { fl_container.setOnClickListener { - pop() + _mActivity.finish() } val homeFragmentInStack: HomeFragment? = SupportHelper.findFragment(childFragmentManager, HomeFragment::class.java) if (homeFragmentInStack != null) {