mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Fixed crash
This commit is contained in:
@@ -214,9 +214,8 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
||||
|
||||
if (lastStats.operations > 0)
|
||||
builder.setStyle(new NotificationCompat.BigTextStyle().setSummaryText(
|
||||
getResources().getQuantityString(
|
||||
R.plurals.title_notification_operations, lastStats.operations, lastStats.operations)));
|
||||
builder.setContentText(getResources().getQuantityString(
|
||||
R.plurals.title_notification_operations, lastStats.operations, lastStats.operations));
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user