From de46b38991ff909f21c40321003edba318f42a47 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 29 Jan 2023 17:17:57 +0100 Subject: [PATCH] Open profiles only trough avatars --- .../android/mastodon/ui/drawer/StatusAdapter.java | 5 ++++- .../metadata/android/en/changelogs/474.txt | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/fdroid/fastlane/metadata/android/en/changelogs/474.txt diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java index 108634f67..5d1519826 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java @@ -841,7 +841,7 @@ public class StatusAdapter extends RecyclerView.Adapter } }); holder.binding.actionButtonFavorite.setChecked(statusToDeal.favourited); - holder.binding.statusUserInfo.setOnClickListener(v -> { + holder.binding.avatar.setOnClickListener(v -> { if (remote) { Toasty.info(context, context.getString(R.string.retrieve_remote_status), Toasty.LENGTH_SHORT).show(); searchVM.search(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, statusToDeal.uri, null, "statuses", false, true, false, 0, null, null, 1) @@ -1657,6 +1657,9 @@ public class StatusAdapter extends RecyclerView.Adapter }); if (!minified && canBeFederated) { holder.binding.mainContainer.setOnClickListener(v -> holder.binding.statusContent.callOnClick()); + holder.binding.statusUserInfo.setOnClickListener(v -> { + holder.binding.statusContent.callOnClick(); + }); holder.binding.statusContent.setOnClickListener(v -> { if (status.isFocused || v.getTag() == SpannableHelper.CLICKABLE_SPAN) { if (v.getTag() == SpannableHelper.CLICKABLE_SPAN) { diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/474.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/474.txt new file mode 100644 index 000000000..10ebcd519 --- /dev/null +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/474.txt @@ -0,0 +1,14 @@ +Added: +- Peertube support +- Compose shortcut +- Long press compose button to write with another account +- Edit description and focus for media (for the next Mastodon release) + +Changed: +- Cross actions with two accounts display a dialog +- Order & compact og values when sharing > title - url - content +- Tap on top message (user info) open threads + +Fixed: +- Text cleared when adding a media +- Fix crashes \ No newline at end of file