Browse Source

Update AboutFragment.java

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
committed by GitHub
parent
commit
354a4b09c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/java/awais/instagrabber/fragments/settings/AboutFragment.java

3
app/src/main/java/awais/instagrabber/fragments/settings/AboutFragment.java

@ -89,7 +89,8 @@ public class AboutFragment extends BasePreferencesFragment {
preference.setIconSpaceReserved(false); preference.setIconSpaceReserved(false);
preference.setOnPreferenceClickListener(p -> { preference.setOnPreferenceClickListener(p -> {
final Intent intent = new Intent(Intent.ACTION_SENDTO); final Intent intent = new Intent(Intent.ACTION_SENDTO);
intent.setData(Uri.parse(getString(R.string.about_feedback_summary)));
intent.setData(Uri.parse(getString(R.string.about_feedback_summary)
+ "?body=Please%20note%20that%20your%20email%20address%20and%20the%20entire%20content%20will%20be%20published%20onto%20GitHub%20issues.%20If%20you%20do%20not%20wish%20to%20do%20that%2C%20use%20other%20contact%20methods%20instead."));
if (intent.resolveActivity(context.getPackageManager()) != null) startActivity(intent); if (intent.resolveActivity(context.getPackageManager()) != null) startActivity(intent);
return true; return true;
}); });

Loading…
Cancel
Save