From ebabff4667b989bad091ed5e4b510eea7ac354ad Mon Sep 17 00:00:00 2001 From: Finnley Somdahl <87634197+rebelonion@users.noreply.github.com> Date: Wed, 27 Dec 2023 06:42:24 -0600 Subject: [PATCH] fix for notification title --- app/src/main/java/ani/dantotsu/subcriptions/Subscription.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/ani/dantotsu/subcriptions/Subscription.kt b/app/src/main/java/ani/dantotsu/subcriptions/Subscription.kt index c28b5a49..83b3bd70 100644 --- a/app/src/main/java/ani/dantotsu/subcriptions/Subscription.kt +++ b/app/src/main/java/ani/dantotsu/subcriptions/Subscription.kt @@ -87,9 +87,7 @@ class Subscription { progress(index[it.first]!!, parser.name, media.name) val ep: MangaChapter? = SubscriptionHelper.getChapter(context, parser, media.id, media.isAdult) - if (ep != null) currActivity()!!.getString(R.string.chapter) + "${ep.number}${ - if (ep.title != null) " : ${ep.title}" else "" - } " + currActivity()!!.getString(R.string.just_released) to null + if (ep != null) ep.number + " " + currActivity()!!.getString(R.string.just_released) to null else null } ?: return@map createNotification(context.applicationContext, media, text.first, text.second)