summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2022-12-27 17:39:29 +0100
committerThomas <tschneider.ac@gmail.com>2022-12-27 17:39:29 +0100
commitd70231cd7813195cfd154feccbd9fb429d0191d3 (patch)
tree3269ee0b349aa161d8ac2c1b8f634e1337ac2b18
parent852be8c608bd64b0ef08ed531d074a0eb129d984 (diff)
Release 3.13.1
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/assets/release_notes/notes.json5
-rw-r--r--app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java7
-rw-r--r--src/fdroid/fastlane/metadata/android/en/changelogs/455.txt4
4 files changed, 17 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index ccc80bdbc..566df8e74 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -13,8 +13,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 33
- versionCode 454
- versionName "3.13.0"
+ versionCode 455
+ versionName "3.13.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
flavorDimensions "default"
diff --git a/app/src/main/assets/release_notes/notes.json b/app/src/main/assets/release_notes/notes.json
index c44d304a9..2d2d1bbad 100644
--- a/app/src/main/assets/release_notes/notes.json
+++ b/app/src/main/assets/release_notes/notes.json
@@ -1,5 +1,10 @@
[
{
+ "version": "3.13.1",
+ "code": "455",
+ "note": "Added:\n- DeepL translation support free/pro keys\n\nChanged:\n- Hide buttons for media when editing\n\nFixed:\n- GIF loaded as static images\n- Suggested accounts cannot be followed"
+ },
+ {
"version": "3.13.0",
"code": "454",
"note": "Added:\n- Post random quotes\n- Group reblogs in home timeline\n- Rename Nitter timelines\n- Android 13 support\n- Pagination with search / trending\n- Allow to remove left margin in messages (default: disabled)\n\nChanged:\n- Display translate button only when language is different\n- Respect blank spaces between words in messages\n- Focus button more accessible when editing media\n- Visual feedback for block on account list\n- Visual changes with compose / top bar\n- Use custom Nitter timeline name in manage timelines\n\nFixed:\n- Behavior with cw toggle\n- Truncated gimini links\n- Nav buttons not visible with media (Light theme)\n- Status bar with Android 5\n- Fix links not clickable\n- Fix deep links\n- Fix remote threads not fetched for some instances\n- Adding description to shared media\n- Open with another accounts\n- Chars size not respected for Android 5-6\n- Wrong instance fetched for instances.social\n- Bouncing Timeline on refresh\n- Links to mentions, tags, urls, not visible.\n- Custom channel sounds not applied\n- users with short username are not linked\n- Fix crashes"
diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java
index ea5311c4e..75f794be8 100644
--- a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java
+++ b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java
@@ -1021,6 +1021,13 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
for (Attachment attachment : attachmentList) {
ComposeAttachmentItemBinding composeAttachmentItemBinding = ComposeAttachmentItemBinding.inflate(LayoutInflater.from(context), holder.binding.attachmentsList, false);
composeAttachmentItemBinding.buttonPlay.setVisibility(View.GONE);
+ if (editMessageId != null) {
+ composeAttachmentItemBinding.editPreview.setVisibility(View.INVISIBLE);
+ composeAttachmentItemBinding.buttonDescription.setVisibility(View.INVISIBLE);
+ composeAttachmentItemBinding.buttonOrderDown.setVisibility(View.INVISIBLE);
+ composeAttachmentItemBinding.buttonOrderUp.setVisibility(View.INVISIBLE);
+ composeAttachmentItemBinding.buttonRemove.setVisibility(View.INVISIBLE);
+ }
String attachmentPath = attachment.local_path != null && !attachment.local_path.trim().isEmpty() ? attachment.local_path : attachment.preview_url;
if (attachment.type != null || attachment.mimeType != null) {
if ((attachment.type != null && attachment.type.toLowerCase().startsWith("image")) || (attachment.mimeType != null && attachment.mimeType.toLowerCase().startsWith("image"))) {
diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/455.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/455.txt
index dfbf794b1..ac78b653a 100644
--- a/src/fdroid/fastlane/metadata/android/en/changelogs/455.txt
+++ b/src/fdroid/fastlane/metadata/android/en/changelogs/455.txt
@@ -2,6 +2,8 @@ Added:
- DeepL translation support free/pro keys
Changed:
+- Hide buttons for media when editing
Fixed:
-- GIF loaded as static images \ No newline at end of file
+- GIF loaded as static images
+- Suggested accounts cannot be followed \ No newline at end of file