Fixed notification for SubmitPostService.

This commit is contained in:
Alex Ning 2019-08-27 23:02:37 +08:00
parent 942e2d52a4
commit 2133231d52

View File

@ -122,7 +122,8 @@ public class SubmitPostService extends Service {
return new NotificationCompat.Builder(this, NotificationUtils.CHANNEL_SUBMIT_POST)
.setContentTitle(getString(stringResId))
.setContentText(getString(R.string.please_wait))
.setSmallIcon(R.mipmap.ic_launcher_round)
.setSmallIcon(R.drawable.ic_notification)
.setColor(getResources().getColor(R.color.notificationIconColor))
.build();
}