aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/services
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-29 02:00:41 -0700
committerAllan Wang <me@allanwang.ca>2019-09-29 02:00:41 -0700
commita4e9eb442797d70d9285600e5ba91f3eb2f21997 (patch)
treecca329135c9609a3e905456ced95d6de11501316 /app/src/main/kotlin/com/pitchedapps/frost/services
parentc8b32c0b37e0aae1a6df607806c6511ed91082f8 (diff)
downloadfrost-a4e9eb442797d70d9285600e5ba91f3eb2f21997.tar.gz
frost-a4e9eb442797d70d9285600e5ba91f3eb2f21997.tar.bz2
frost-a4e9eb442797d70d9285600e5ba91f3eb2f21997.zip
Show notification context in summary notification
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt
index e4d0b485..955d6482 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt
@@ -258,9 +258,8 @@ enum class NotificationType(
* and will only show if we have at least 2 notifications
*/
private fun summaryNotification(context: Context, userId: Long, count: Int): FrostNotification {
- val intent = Intent(context, FrostWebActivity::class.java)
+ val intent = createCommonIntent(context, userId)
intent.data = Uri.parse(fbItem.url)
- intent.putExtra(ARG_USER_ID, userId)
val group = "${groupPrefix}_$userId"
val pendingIntent =
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT)