WIP clean & make things compile

This commit is contained in:
Ryan ZHAO
2021-01-19 10:48:02 +11:00
parent 31d4deb354
commit 883c71331b
40 changed files with 130 additions and 97 deletions

View File

@@ -64,9 +64,9 @@ public class UnknownSenderView extends FrameLayout {
private void handleProfileAccess() {
final Context context = getContext();
new AlertDialog.Builder(getContext())
new AlertDialog.Builder(context)
.setIconAttribute(R.attr.dialog_info_icon)
.setTitle(getContext().getString(R.string.UnknownSenderView_share_profile_with_s, recipient.toShortString()))
.setTitle(context.getString(R.string.UnknownSenderView_share_profile_with_s, recipient.toShortString()))
.setMessage(R.string.UnknownSenderView_the_easiest_way_to_share_your_profile_information_is_to_add_the_sender_to_your_contacts)
.setPositiveButton(R.string.UnknownSenderView_share_profile, (dialog, which) -> {
new AsyncTask<Void, Void, Void>() {