1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-15 08:41:10 +01:00

Fixed pod displaying pod domain/name in debug fragment and fixed diaspora markdown link

This commit is contained in:
vanitasvitae 2016-10-30 21:04:08 +01:00
parent d8a3e029b1
commit fd05370280
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615
10 changed files with 25 additions and 15 deletions

View file

@ -296,7 +296,10 @@ public class AboutActivity extends ThemedActivity
@BindView(R.id.fragment_debug__device_name)
TextView deviceName;
@BindView(R.id.fragment_debug__pod_domain)
@BindView(R.id.fragment_debug__account_profile_name)
TextView podName;
@BindView(R.id.fragment_debug__account_profile_domain)
TextView podDomain;
@BindView(R.id.fragment_debug__log_box)
@ -338,9 +341,9 @@ public class AboutActivity extends ThemedActivity
osVersion.setText(getString(R.string.fragment_debug__android_version, Build.VERSION.RELEASE));
deviceName.setText(getString(R.string.fragment_debug__device_name, Build.MANUFACTURER + " " + Build.MODEL));
podDomain.setText(getString(R.string.fragment_debug__pod_domain, urls.getPodUrl()));
if (app.getSettings().getPod() != null) {
podDomain.setText(getString(R.string.fragment_debug__pod_domain, app.getSettings().getPod().getName()));
podDomain.setText(getString(R.string.fragment_debug__pod_profile_url, app.getSettings().getPod().getPodUrl()));
podName.setText(getString(R.string.fragment_debug__pod_profile_name, app.getSettings().getPod().getName()));
}
} catch (PackageManager.NameNotFoundException e) {