mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
trim for nodeinfo
This commit is contained in:
parent
d79c09c692
commit
bbcc9244e3
2 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,7 @@ public class FragmentLoginMain extends Fragment {
|
||||||
}
|
}
|
||||||
binding.continueButton.setEnabled(false);
|
binding.continueButton.setEnabled(false);
|
||||||
NodeInfoVM nodeInfoVM = new ViewModelProvider(requireActivity()).get(NodeInfoVM.class);
|
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 -> {
|
nodeInfoVM.getNodeInfo(instance).observe(requireActivity(), nodeInfo -> {
|
||||||
if (nodeInfo != null) {
|
if (nodeInfo != null) {
|
||||||
BaseMainActivity.software = nodeInfo.software.name.toUpperCase();
|
BaseMainActivity.software = nodeInfo.software.name.toUpperCase();
|
||||||
|
|
|
@ -7,4 +7,5 @@ Changed:
|
||||||
|
|
||||||
Fixed:
|
Fixed:
|
||||||
- Fix an issue with Nitter and some URLs
|
- Fix an issue with Nitter and some URLs
|
||||||
|
- Fix an issue when entering a Peertube instance
|
||||||
- Some crashes
|
- Some crashes
|
Loading…
Reference in a new issue