From b9af6ee60b27ef9f066cdad0e4b5727d46a301b8 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 27 Feb 2023 18:08:07 +0100 Subject: [PATCH] Fix edit media description --- .../mastodon/client/endpoints/MastodonStatusesService.java | 6 +++--- src/fdroid/fastlane/metadata/android/en/changelogs/481.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/mastodon/client/endpoints/MastodonStatusesService.java b/app/src/main/java/app/fedilab/android/mastodon/client/endpoints/MastodonStatusesService.java index f4392fcb..1ec9f71a 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/client/endpoints/MastodonStatusesService.java +++ b/app/src/main/java/app/fedilab/android/mastodon/client/endpoints/MastodonStatusesService.java @@ -92,9 +92,9 @@ public interface MastodonStatusesService { @Field("spoiler_text") String spoiler_text, @Field("visibility") String visibility, @Field("language") String language, - @Field("media_attributes[id][]") List media_id, - @Field("media_attributes[description][]") List media_description, - @Field("media_attributes[focus][]") List focus + @Field("media_attributes[][id]") List media_id, + @Field("media_attributes[][description]") List media_description, + @Field("media_attributes[][focus]") List focus ); //Post a scheduled status diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/481.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/481.txt index 461dbca2..6dae8ee9 100644 --- a/src/fdroid/fastlane/metadata/android/en/changelogs/481.txt +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/481.txt @@ -6,6 +6,7 @@ Changed: Fixed: - Media previews remain the same when sharing +- Edit media description not working - Accessibility (larger fonts): profiles/DM/ - Cross replies: Wrong visibility with the selected account - Several crashes \ No newline at end of file