mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-07 20:30:28 +03:00
make mastodon as default one
This commit is contained in:
parent
802b3b0926
commit
f11a5c544e
1 changed files with 1 additions and 4 deletions
|
@ -171,9 +171,6 @@ public class FragmentLoginMain extends Fragment {
|
||||||
if (nodeInfo != null) {
|
if (nodeInfo != null) {
|
||||||
BaseMainActivity.software = nodeInfo.software.name.toUpperCase();
|
BaseMainActivity.software = nodeInfo.software.name.toUpperCase();
|
||||||
switch (nodeInfo.software.name.toUpperCase().trim()) {
|
switch (nodeInfo.software.name.toUpperCase().trim()) {
|
||||||
case "MASTODON":
|
|
||||||
apiLogin = Account.API.MASTODON;
|
|
||||||
break;
|
|
||||||
case "FRIENDICA":
|
case "FRIENDICA":
|
||||||
apiLogin = Account.API.FRIENDICA;
|
apiLogin = Account.API.FRIENDICA;
|
||||||
break;
|
break;
|
||||||
|
@ -188,7 +185,7 @@ public class FragmentLoginMain extends Fragment {
|
||||||
apiLogin = Account.API.PEERTUBE;
|
apiLogin = Account.API.PEERTUBE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
apiLogin = Account.API.UNKNOWN;
|
apiLogin = Account.API.MASTODON;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
softwareLogin = nodeInfo.software.name.toUpperCase();
|
softwareLogin = nodeInfo.software.name.toUpperCase();
|
||||||
|
|
Loading…
Reference in a new issue