From 2133231d524cf40f78682d0763656fb6a99e536c Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 27 Aug 2019 23:02:37 +0800 Subject: Fixed notification for SubmitPostService. --- .../java/ml/docilealligator/infinityforreddit/SubmitPostService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/SubmitPostService.java b/app/src/main/java/ml/docilealligator/infinityforreddit/SubmitPostService.java index 17cd1628..3e3fc242 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/SubmitPostService.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/SubmitPostService.java @@ -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(); } -- cgit v1.2.3