android:remove invalid null check

This commit is contained in:
刘涛 2020-07-20 12:02:13 +08:00 committed by osborn
parent 1de1fdeb47
commit f8d624d097

View File

@ -100,9 +100,7 @@ public class DoricPanelFragment extends Fragment implements IDoricNavigator {
}
NavController navController = getNavController();
if (navController != null && navController.popBackStack()) {
if (getActivity() != null) {
getActivity().finish();
}
}
}