aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-27 15:02:37 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-27 15:02:37 +0000
commit2133231d524cf40f78682d0763656fb6a99e536c (patch)
treec0126a5f56c3f81aa2d432f1a61542adf8c64929 /app/src/main/java
parent942e2d52a408b70458fcdf7ca6f91b6becd191fb (diff)
downloadinfinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar.gz
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar.bz2
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar.lz
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar.xz
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.tar.zst
infinity-for-reddit-2133231d524cf40f78682d0763656fb6a99e536c.zip
Fixed notification for SubmitPostService.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/SubmitPostService.java3
1 files changed, 2 insertions, 1 deletions
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();
}