Remove _str options

This commit is contained in:
Philipp Heckel 2022-06-17 21:06:50 -04:00
parent 9dd21255d3
commit 7f88d8f3ff
2 changed files with 1 additions and 3 deletions

View file

@ -37,9 +37,7 @@ class BroadcastService(private val ctx: Context) {
intent.putExtra("attachment_name", notification.attachment?.name ?: "") intent.putExtra("attachment_name", notification.attachment?.name ?: "")
intent.putExtra("attachment_type", notification.attachment?.type ?: "") intent.putExtra("attachment_type", notification.attachment?.type ?: "")
intent.putExtra("attachment_size", notification.attachment?.size ?: 0L) 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", notification.attachment?.expires ?: 0L)
intent.putExtra("attachment_expires_str", notification.attachment?.expires?.toString() ?: "")
intent.putExtra("attachment_url", notification.attachment?.url ?: "") intent.putExtra("attachment_url", notification.attachment?.url ?: "")
Log.d(TAG, "Sending message intent broadcast: ${intent.action} with extras ${intent.extras}") Log.d(TAG, "Sending message intent broadcast: ${intent.action} with extras ${intent.extras}")

View file

@ -1,6 +1,6 @@
Bugs: Bugs:
* Fixed: Long-click selecting of notifications scrolls to the top (#235, thanks to @wunter8) * 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: Additional translations:
* Italian (thanks to @Genio2003) * Italian (thanks to @Genio2003)