From b055892beb6b32989ad482dbec8007f95830717f Mon Sep 17 00:00:00 2001 From: jacques Date: Fri, 11 Sep 2020 17:37:15 +0200 Subject: [PATCH] Changes without effect --- .../java/net/foucry/pilldroid/NotificationPublisher.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/NotificationPublisher.java b/app/src/main/java/net/foucry/pilldroid/NotificationPublisher.java index aacec21..72ccaf2 100644 --- a/app/src/main/java/net/foucry/pilldroid/NotificationPublisher.java +++ b/app/src/main/java/net/foucry/pilldroid/NotificationPublisher.java @@ -17,6 +17,7 @@ import androidx.core.app.NotificationManagerCompat; * Publish notification */ +/* TODO: must be remove public class NotificationPublisher extends BroadcastReceiver { @@ -50,10 +51,10 @@ public class NotificationPublisher extends BroadcastReceiver { NotificationCompat.Builder builder = new NotificationCompat.Builder(context, channel_id) .setSmallIcon(R.drawable.ic_pill) .setContentTitle(context.getString(R.string.app_name)) - .setContentText(context.getString(R.string.pharmacy)) + .setContentText(context.getString(R.string.notification_text)) .setChannelId(APP_NAME) .setStyle(new NotificationCompat.BigTextStyle() - .bigText(context.getString(R.string.pharmacy))) + .bigText(context.getString(R.string.notification_text))) .setAutoCancel(true) .setPriority(NotificationCompat.PRIORITY_DEFAULT);