mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
fix codacy
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
53b4df7bf8
commit
3022591419
1 changed files with 2 additions and 3 deletions
|
@ -357,9 +357,8 @@ public class Preferences extends PreferenceActivity
|
|||
if (feedbackEnabled) {
|
||||
pFeedback.setOnPreferenceClickListener(preference -> {
|
||||
String feedback = getText(R.string.prefs_feedback) + " - android v" + appVersion;
|
||||
Intent intent = new Intent(Intent.ACTION_SENDTO,
|
||||
Uri.fromParts("mailto", "", null));
|
||||
intent.putExtra(android.content.Intent.EXTRA_EMAIL,new String[] { getString(R.string.mail_feedback) });
|
||||
Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts("mailto", "", null));
|
||||
intent.putExtra(Intent.EXTRA_EMAIL, new String[]{getString(R.string.mail_feedback)});
|
||||
intent.putExtra(Intent.EXTRA_SUBJECT, feedback);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
|
||||
|
|
Loading…
Reference in a new issue