mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Added send failed retry hint
This commit is contained in:
parent
11fb6178c1
commit
9cbd5ea3f3
2 changed files with 8 additions and 2 deletions
|
@ -245,8 +245,13 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
|||
builder.setContentText(Log.formatThrowable(ex, false))
|
||||
.setStyle(new NotificationCompat.BigTextStyle()
|
||||
.bigText(Log.formatThrowable(ex, "\n", false)));
|
||||
} else
|
||||
builder.setContentText(getString(R.string.title_notification_sending_left, tries_left));
|
||||
} else {
|
||||
String msg = getString(R.string.title_notification_sending_left, tries_left);
|
||||
builder.setContentText(msg)
|
||||
.setStyle(new NotificationCompat.BigTextStyle()
|
||||
.bigText(msg + "\n" + getString(R.string.title_notification_sending_retry)));
|
||||
}
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
<string name="title_notification_failed">\'%1$s\' failed</string>
|
||||
<string name="title_notification_alert">\'%1$s\' server alert</string>
|
||||
<string name="title_notification_sending_left">Attempts left: %1$d</string>
|
||||
<string name="title_notification_sending_retry">Sending will be retried on internet connection changes or pulling down on the outbox</string>
|
||||
<string name="title_notification_sending_failed">Sending to %1$s failed</string>
|
||||
|
||||
<string name="title_notification_redacted">Redacted: biometric or PIN authentication enabled</string>
|
||||
|
|
Loading…
Reference in a new issue