1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-04 11:13:36 +00:00

Fix quote forward

This commit is contained in:
Riko Sakurauchi 2020-05-03 14:46:39 +08:00 committed by NekoInverter
parent eda70131da
commit 366512df1c
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9

View File

@ -5363,7 +5363,10 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
image = context.getResources().getDrawable(R.drawable.input_forward).mutate();
image.setColorFilter(new PorterDuffColorFilter(Theme.getColor(Theme.key_actionBarActionModeDefaultIcon), PorterDuff.Mode.MULTIPLY));
forwardButton.setCompoundDrawablesWithIntrinsicBounds(image, null, null, null);
forwardButton.setOnClickListener(v -> openForward());
forwardButton.setOnClickListener(v -> {
noForwardQuote = false;
openForward();
});
bottomMessagesActionContainer.addView(forwardButton, LayoutHelper.createFrame(LayoutHelper.WRAP_CONTENT, LayoutHelper.MATCH_PARENT, Gravity.RIGHT | Gravity.TOP));
contentView.addView(searchContainer, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, 51, Gravity.BOTTOM));