mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 20:29:02 +00:00
Fix contact. for real.
This commit is contained in:
parent
4d7e02e19e
commit
e40973b7d8
1 changed files with 3 additions and 5 deletions
|
|
@ -81,11 +81,9 @@ public class AboutFragment extends Fragment {
|
|||
}
|
||||
|
||||
private void sendEmail(String subject) {
|
||||
Intent emailIntent = new Intent(Intent.ACTION_SENDTO);
|
||||
emailIntent.setData(Uri.parse("mailto:"));
|
||||
emailIntent.setType("text/plain");
|
||||
emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[]{"mobile@habitica.com"});
|
||||
Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(
|
||||
"mailto","mobile@habitica.com", null));
|
||||
emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
|
||||
startActivity(Intent.createChooser(emailIntent, "Send mail..."));
|
||||
startActivity(Intent.createChooser(emailIntent, "Send email..."));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue