Open profiles only trough avatars

This commit is contained in:
Thomas 2023-01-29 17:17:57 +01:00
parent 926caf2f3f
commit de46b38991
2 changed files with 18 additions and 1 deletions

View File

@ -841,7 +841,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
}
});
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<RecyclerView.ViewHolder>
});
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) {

View File

@ -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