diff --git a/res/values/strings.xml b/res/values/strings.xml index 418dae10f..45537b12e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1523,5 +1523,8 @@ Tap to open. Network unavailable. Draft + Contact + Encryption + Edit name diff --git a/res/xml/recipient_preferences.xml b/res/xml/recipient_preferences.xml index 949ddbf67..8e2f62566 100644 --- a/res/xml/recipient_preferences.xml +++ b/res/xml/recipient_preferences.xml @@ -32,12 +32,19 @@ - + - + + + + + >() { -// @Override -// public void onSuccess(Optional result) { -// if (result.isPresent()) { -// if (identityPreference != null) identityPreference.setOnPreferenceClickListener(new IdentityClickedListener(result.get())); -// if (identityPreference != null) identityPreference.setEnabled(true); -// } else if (canHaveSafetyNumber) { -// if (identityPreference != null) identityPreference.setSummary(R.string.RecipientPreferenceActivity_available_once_a_message_has_been_sent_or_received); -// if (identityPreference != null) identityPreference.setEnabled(false); -// } else { -// if (identityPreference != null) getPreferenceScreen().removePreference(identityPreference); -// } -// } -// -// @Override -// public void onFailure(ExecutionException e) { -// if (identityPreference != null) getPreferenceScreen().removePreference(identityPreference); -// } -// }); - getPreferenceScreen().removePreference(identityPreference); } }