update links in about page
This commit is contained in:
parent
b975ebde16
commit
d92ab83222
|
@ -152,7 +152,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
about_code.setOnClickListener(new View.OnClickListener() {
|
about_code.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
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);
|
startActivity(browserIntent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -268,7 +268,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
lv_support.setAdapter(accountSearchWebAdapterSupport);
|
lv_support.setAdapter(accountSearchWebAdapterSupport);
|
||||||
|
|
||||||
if( MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON || MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA ) {
|
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(), "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(), "guzzisti", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "NateLikesSheep", "mastodon.art", 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(), "PhotonQyv", "mastodon.xyz", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
}else{
|
}else{
|
||||||
SpannableString name = new SpannableString("@tom79@mastodon.social");
|
SpannableString name = new SpannableString("@fedilab@framapiaf.org");
|
||||||
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
||||||
txt_developers.setText(name);
|
txt_developers.setText(name);
|
||||||
txt_developers.setVisibility(View.VISIBLE);
|
txt_developers.setVisibility(View.VISIBLE);
|
||||||
txt_developers.setOnClickListener(new View.OnClickListener() {
|
txt_developers.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
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");
|
name = new SpannableString("@mmarif@mastodon.social");
|
||||||
|
@ -375,7 +375,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
account = accounts.get(0);
|
account = accounts.get(0);
|
||||||
account.setFollowing(true);
|
account.setFollowing(true);
|
||||||
switch (account.getUsername()) {
|
switch (account.getUsername()) {
|
||||||
case "tom79":
|
case "fedilab":
|
||||||
developers.add(account);
|
developers.add(account);
|
||||||
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
|
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -207,7 +207,7 @@
|
||||||
<string name="about_license">License: </string>
|
<string name="about_license">License: </string>
|
||||||
<string name="about_license_action">GNU GPL V3</string>
|
<string name="about_license_action">GNU GPL V3</string>
|
||||||
<string name="about_code">Source code: </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">Translation of toots:</string>
|
||||||
<string name="about_yandex_action" translatable="false">Powered by Yandex.Translate</string>
|
<string name="about_yandex_action" translatable="false">Powered by Yandex.Translate</string>
|
||||||
<string name="about_thekinrar">Search instances:</string>
|
<string name="about_thekinrar">Search instances:</string>
|
||||||
|
|
Loading…
Reference in New Issue