Show full client ID

This commit is contained in:
M66B
2022-03-03 08:26:01 +01:00
parent ffa613ca2c
commit 43ceb4e576
2 changed files with 18 additions and 9 deletions

View File

@@ -439,7 +439,14 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
// Initialize
FragmentDialogTheme.setBackground(getContext(), view, false);
tvClientId.setText(getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME);
StringBuilder sb = new StringBuilder();
for (String value : EmailService.getId(getContext()).values()) {
if (sb.length() > 0)
sb.append(' ');
sb.append(value);
}
tvClientId.setText(sb);
PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);