Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b95c079a authored by cketti's avatar cketti
Browse files

Clean up code

parent e6338140
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -3352,13 +3352,13 @@ public class MessagingController implements Runnable {
        builder.setSmallIcon(R.drawable.ic_notify_check_mail);
        builder.setWhen(System.currentTimeMillis());
        builder.setOngoing(true);
        if(!TextUtils.isEmpty(account.getDescription())) {
            builder.setTicker(mApplication.getString(R.string.notification_bg_send_ticker,
                    account.getDescription()));
        }else {

        String accountDescription = account.getDescription();
        String accountName = (TextUtils.isEmpty(accountDescription)) ?
                account.getEmail() : accountDescription;

        builder.setTicker(mApplication.getString(R.string.notification_bg_send_ticker,
                    account.getEmail()));
        }
                accountName));

        builder.setContentTitle(mApplication.getString(R.string.notification_bg_send_title));
        builder.setContentText(account.getDescription());