Merge pull request #8255 from osmandapp/rate_us_dialog

add title to chooser
This commit is contained in:
max-klaus 2020-01-17 20:10:18 +03:00 committed by GitHub
commit 40f3bd986f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ public class DislikeOsmAndBottomSheetDialogFragment extends MenuBottomSheetDialo
Intent sendEmail = new Intent(Intent.ACTION_SENDTO); Intent sendEmail = new Intent(Intent.ACTION_SENDTO);
sendEmail.setData(Uri.parse("mailto:" + email)); sendEmail.setData(Uri.parse("mailto:" + email));
sendEmail.putExtra(Intent.EXTRA_EMAIL, email); sendEmail.putExtra(Intent.EXTRA_EMAIL, email);
startActivity(Intent.createChooser(sendEmail, "Send Email")); startActivity(Intent.createChooser(sendEmail, getString(R.string.send_report)));
dismiss(); dismiss();
} }
} }