@@ -94,7 +94,7 @@ public class InputInfoFragment extends Fragment {
if (mailNoLock.get() == 1) {
Editable text = binding.mailNo.getText();
- if (text != null) {
+ if (!StringUtils.isNullOrEmpty(text.toString())) {
text.clear();
binding.mailNo.setText(text);
}
@@ -170,7 +170,7 @@ public class SendInfoConfirmFragment extends Fragment {
timer.cancel();
LocalStorage.getInstance().cleanSession(((MainActivity) getActivity()));
NavHostFragment.findNavController(SendInfoConfirmFragment.this)
- .navigate(R.id.action_takeSuccessFragment_to_mainFragment);
+ .navigate(R.id.action_sendInfoConfirmFragment_to_mainFragment);
});