update links in about page

This commit is contained in:
kasun 2019-06-02 14:50:03 +05:30
parent b975ebde16
commit d92ab83222
2 changed files with 6 additions and 6 deletions

View File

@ -152,7 +152,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
about_code.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://gitlab.com/tom79/mastalab"));
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://framagit.org/tom79/fedilab"));
startActivity(browserIntent);
}
});
@ -268,7 +268,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
lv_support.setAdapter(accountSearchWebAdapterSupport);
if( MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON || MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA ) {
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "tom79", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "fedilab", "framapiaf.org", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "mmarif", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "guzzisti", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "NateLikesSheep", "mastodon.art", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
@ -276,14 +276,14 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "PhotonQyv", "mastodon.xyz", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}else{
SpannableString name = new SpannableString("@tom79@mastodon.social");
SpannableString name = new SpannableString("@fedilab@framapiaf.org");
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
txt_developers.setText(name);
txt_developers.setVisibility(View.VISIBLE);
txt_developers.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.openBrowser(AboutActivity.this, "https://mastodon.social/@tom79");
Helper.openBrowser(AboutActivity.this, "https://framapiaf.org/@fedilab");
}
});
name = new SpannableString("@mmarif@mastodon.social");
@ -375,7 +375,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
account = accounts.get(0);
account.setFollowing(true);
switch (account.getUsername()) {
case "tom79":
case "fedilab":
developers.add(account);
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
break;

View File

@ -207,7 +207,7 @@
<string name="about_license">License: </string>
<string name="about_license_action">GNU GPL V3</string>
<string name="about_code">Source code: </string>
<string name="about_code_action" translatable="false">GitLab</string>
<string name="about_code_action" translatable="false">FramaGit</string>
<string name="about_yandex">Translation of toots:</string>
<string name="about_yandex_action" translatable="false">Powered by Yandex.Translate</string>
<string name="about_thekinrar">Search instances:</string>