android: navController pop logic
This commit is contained in:
parent
f8d624d097
commit
414f25d8fd
@ -99,8 +99,8 @@ public class DoricPanelFragment extends Fragment implements IDoricNavigator {
|
||||
return;
|
||||
}
|
||||
NavController navController = getNavController();
|
||||
if (navController != null && navController.popBackStack()) {
|
||||
getActivity().finish();
|
||||
if (navController != null && !navController.popBackStack()) {
|
||||
getActivity().finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user