Moves my account to mastodon.social

This commit is contained in:
tom79 2017-10-17 19:20:56 +02:00
parent 1a9abb9965
commit 5c739d499a
7 changed files with 4 additions and 8 deletions

View File

@ -153,7 +153,7 @@ public class AboutActivity extends AppCompatActivity implements OnRetrieveRemote
accountSearchWebAdapterDeveloper = new AccountSearchDevAdapter(AboutActivity.this, developers);
lv_developers.setAdapter(accountSearchWebAdapterDeveloper);
new RetrieveRemoteAccountsAsyncTask(getApplicationContext(), "tschneider", "mastodon.etalab.gouv.fr", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteAccountsAsyncTask(getApplicationContext(), "tom79", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteAccountsAsyncTask(getApplicationContext(), "daycode", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteAccountsAsyncTask(getApplicationContext(), "PhotonQyv", "mastodon.xyz", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteAccountsAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
@ -187,7 +187,7 @@ public class AboutActivity extends AppCompatActivity implements OnRetrieveRemote
account = accounts.get(0);
account.setFollowing(true);
switch (account.getUsername()) {
case "tschneider":
case "tom79":
developers.add(account);
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
break;

View File

@ -45,7 +45,7 @@ public class RetrieveDeveloperAccountsAsyncTask extends AsyncTask<Void, Void, Vo
protected Void doInBackground(Void... params) {
API api = new API(context);
accounts = new ArrayList<>();
APIResponse apiResponse = api.searchAccounts("@tschneider@mastodon.etalab.gouv.fr", 1);
APIResponse apiResponse = api.searchAccounts("@tom79@mastodon.social", 1);
if( apiResponse.getAccounts() != null && apiResponse.getAccounts().size() > 0)
accounts.add(apiResponse.getAccounts().get(0));
apiResponse = api.searchAccounts("@daycode@mastodon.social",1);

View File

@ -193,7 +193,6 @@
<!-- About -->
<string name="about_vesrion">Version %1$s</string>
<string name="about_developer">Entwickler:</string>
<string name="about_developer_action">\\@tschneider</string>
<string name="about_license">Lizenz:</string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Quellcode:</string>

View File

@ -189,7 +189,6 @@
<!-- About -->
<string name="about_vesrion">Version %1$s</string>
<string name="about_developer">Développeur :</string>
<string name="about_developer_action">\@tschneider</string>
<string name="about_license">Licence : </string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Code source : </string>

View File

@ -190,7 +190,6 @@
<!-- About -->
<string name="about_vesrion">Release %1$s</string>
<string name="about_developer">Ontwikkelaar:</string>
<string name="about_developer_action">\@tschneider</string>
<string name="about_license">Licentie: </string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Broncode: </string>

View File

@ -189,7 +189,6 @@
<!-- About -->
<string name="about_vesrion">Versão %1$s</string>
<string name="about_developer">Desenvolvedor:</string>
<string name="about_developer_action">\@tschneider</string>
<string name="about_license">Licença: </string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Código-fonte: </string>

View File

@ -190,7 +190,7 @@
<!-- About -->
<string name="about_vesrion">Release %1$s</string>
<string name="about_developer">Developer:</string>
<string name="about_developer_action">\@tschneider</string>
<string name="about_developer_action" translatable="false">\@tom79</string>
<string name="about_license">License: </string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Source code: </string>