mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Resolves: #3531 changing the email intent
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
839a61e08f
commit
53b4df7bf8
2 changed files with 4 additions and 4 deletions
|
@ -356,10 +356,10 @@ public class Preferences extends PreferenceActivity
|
|||
if (pFeedback != null) {
|
||||
if (feedbackEnabled) {
|
||||
pFeedback.setOnPreferenceClickListener(preference -> {
|
||||
String feedbackMail = getString(R.string.mail_feedback);
|
||||
String feedback = getText(R.string.prefs_feedback) + " - android v" + appVersion;
|
||||
Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setDataAndType(Uri.parse(feedbackMail), "text/plain");
|
||||
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.putExtra(Intent.EXTRA_SUBJECT, feedback);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<bool name="license_enabled">true</bool>
|
||||
<string name="license_url" translatable="false">https://www.gnu.org/licenses/gpl-2.0.html</string>
|
||||
<string name="url_imprint"></string>
|
||||
<string name="mail_feedback">"mailto:android@nextcloud.com"</string>
|
||||
<string name="mail_feedback">android@nextcloud.com</string>
|
||||
<string name="url_app_download">"https://play.google.com/store/apps/details?id=com.nextcloud.client"</string>
|
||||
<string name="url_server_install">https://nextcloud.com/install</string>
|
||||
|
||||
|
|
Loading…
Reference in a new issue