trim for nodeinfo
This commit is contained in:
parent
d79c09c692
commit
bbcc9244e3
|
@ -168,7 +168,7 @@ public class FragmentLoginMain extends Fragment {
|
|||
}
|
||||
binding.continueButton.setEnabled(false);
|
||||
NodeInfoVM nodeInfoVM = new ViewModelProvider(requireActivity()).get(NodeInfoVM.class);
|
||||
String instance = binding.loginInstance.getText().toString();
|
||||
String instance = binding.loginInstance.getText().toString().trim();
|
||||
nodeInfoVM.getNodeInfo(instance).observe(requireActivity(), nodeInfo -> {
|
||||
if (nodeInfo != null) {
|
||||
BaseMainActivity.software = nodeInfo.software.name.toUpperCase();
|
||||
|
|
|
@ -7,4 +7,5 @@ Changed:
|
|||
|
||||
Fixed:
|
||||
- Fix an issue with Nitter and some URLs
|
||||
- Fix an issue when entering a Peertube instance
|
||||
- Some crashes
|
Loading…
Reference in New Issue