diff --git a/app/src/main/java/app/fedilab/android/ui/fragment/FragmentLoginMain.java b/app/src/main/java/app/fedilab/android/ui/fragment/FragmentLoginMain.java index c79cabf5..e57089e1 100644 --- a/app/src/main/java/app/fedilab/android/ui/fragment/FragmentLoginMain.java +++ b/app/src/main/java/app/fedilab/android/ui/fragment/FragmentLoginMain.java @@ -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(); diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/485.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/485.txt index 142f1e40..a0fed977 100644 --- a/src/fdroid/fastlane/metadata/android/en/changelogs/485.txt +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/485.txt @@ -7,4 +7,5 @@ Changed: Fixed: - Fix an issue with Nitter and some URLs +- Fix an issue when entering a Peertube instance - Some crashes \ No newline at end of file