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