From 7f88d8f3ff7147705883aaf4363f22f4900a7ebc Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Fri, 17 Jun 2022 21:06:50 -0400 Subject: [PATCH] Remove _str options --- app/src/main/java/io/heckel/ntfy/msg/BroadcastService.kt | 2 -- fastlane/metadata/android/en-US/changelog/28.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/heckel/ntfy/msg/BroadcastService.kt b/app/src/main/java/io/heckel/ntfy/msg/BroadcastService.kt index a15f09a..6ad65b2 100644 --- a/app/src/main/java/io/heckel/ntfy/msg/BroadcastService.kt +++ b/app/src/main/java/io/heckel/ntfy/msg/BroadcastService.kt @@ -37,9 +37,7 @@ class BroadcastService(private val ctx: Context) { intent.putExtra("attachment_name", notification.attachment?.name ?: "") intent.putExtra("attachment_type", notification.attachment?.type ?: "") intent.putExtra("attachment_size", notification.attachment?.size ?: 0L) - intent.putExtra("attachment_size_str", notification.attachment?.size?.toString() ?: "") intent.putExtra("attachment_expires", notification.attachment?.expires ?: 0L) - intent.putExtra("attachment_expires_str", notification.attachment?.expires?.toString() ?: "") intent.putExtra("attachment_url", notification.attachment?.url ?: "") Log.d(TAG, "Sending message intent broadcast: ${intent.action} with extras ${intent.extras}") diff --git a/fastlane/metadata/android/en-US/changelog/28.txt b/fastlane/metadata/android/en-US/changelog/28.txt index e08bbbe..42000e0 100644 --- a/fastlane/metadata/android/en-US/changelog/28.txt +++ b/fastlane/metadata/android/en-US/changelog/28.txt @@ -1,6 +1,6 @@ Bugs: * Fixed: Long-click selecting of notifications scrolls to the top (#235, thanks to @wunter8) -* Add attachment and click URL extras to MESSAGE_RECEIVED broadcast (#330, thanks to @wunter8) +* Add attachment and click URL extras to MESSAGE_RECEIVED broadcast (#329, thanks to @wunter8) Additional translations: * Italian (thanks to @Genio2003)