mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-11-25 16:49:32 +01:00
fix merge bugs
This commit is contained in:
parent
722a0322e1
commit
edd2ecef68
@ -1537,7 +1537,7 @@ public class ChatEditActivity extends BaseFragment implements ImageUpdater.Image
|
||||
} else {
|
||||
count = forum ? 14 : 13;
|
||||
}
|
||||
blockCell.setTextAndValueAndIcon(LocaleController.getString("ChannelPermissions", R.string.ChannelPermissions), String.format("%d/%d", count, forum ? 14 : 13), animated, R.drawable.msg_permissions, true);
|
||||
blockCell.setTextAndValue(LocaleController.getString("ChannelPermissions", R.string.ChannelPermissions), String.format("%d/%d", count, forum ? 14 : 13), animated, true);
|
||||
}
|
||||
if (memberRequestsCell != null) {
|
||||
memberRequestsCell.setTextAndValue(LocaleController.getString("MemberRequests", R.string.MemberRequests), String.format("%d", info.requests_pending), logCell != null && logCell.getVisibility() == View.VISIBLE);
|
||||
|
@ -6201,7 +6201,7 @@ public class ChatActivityEnterView extends BlurredFrameLayout implements Notific
|
||||
runningAnimation = new AnimatorSet();
|
||||
|
||||
ArrayList<Animator> animators = new ArrayList<>();
|
||||
if (NekoConfig.useChatAttachMediaMenu.Bool() && botButton.getVisibility() == VISIBLE) {
|
||||
if (NekoConfig.useChatAttachMediaMenu.Bool() && botButton != null && botButton.getVisibility() == VISIBLE) {
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.SCALE_X, 0.1f));
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.SCALE_Y, 0.1f));
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.ALPHA, 0.0f));
|
||||
|
@ -1561,7 +1561,7 @@ public class SharedMediaLayout extends FrameLayout implements NotificationCenter
|
||||
actionModeViews.add(gotoItem);
|
||||
gotoItem.setOnClickListener(v -> onActionBarItemClick(v, gotochat));
|
||||
|
||||
forwardNoQuoteItem = new ActionBarMenuItem(context, null, Theme.getColor(Theme.key_actionBarActionModeDefaultSelector), Theme.getColor(Theme.key_windowBackgroundWhiteGrayText2), false);
|
||||
forwardNoQuoteItem = new ActionBarMenuItem(context, null, Theme.getColor(Theme.key_actionBarActionModeDefaultSelector), Theme.getColor(Theme.key_actionBarActionModeDefaultIcon), false);
|
||||
forwardNoQuoteItem.setIcon(R.drawable.baseline_fast_forward_24);
|
||||
forwardNoQuoteItem.setContentDescription(LocaleController.getString("NoQuoteForward", R.string.NoQuoteForward));
|
||||
forwardNoQuoteItem.setDuplicateParentStateEnabled(false);
|
||||
@ -6603,7 +6603,7 @@ public class SharedMediaLayout extends FrameLayout implements NotificationCenter
|
||||
arrayList.add(new ThemeDescription(gotoItem, ThemeDescription.FLAG_BACKGROUNDFILTER, null, null, null, null, Theme.key_actionBarActionModeDefaultSelector));
|
||||
}
|
||||
if (forwardNoQuoteItem != null) {
|
||||
arrayList.add(new ThemeDescription(forwardNoQuoteItem.getIconView(), ThemeDescription.FLAG_IMAGECOLOR, null, null, null, null, Theme.key_windowBackgroundWhiteGrayText2));
|
||||
arrayList.add(new ThemeDescription(forwardNoQuoteItem.getIconView(), ThemeDescription.FLAG_IMAGECOLOR, null, null, null, null, Theme.key_actionBarActionModeDefaultIcon));
|
||||
arrayList.add(new ThemeDescription(forwardNoQuoteItem, ThemeDescription.FLAG_BACKGROUNDFILTER, null, null, null, null, Theme.key_actionBarActionModeDefaultSelector));
|
||||
}
|
||||
if (forwardItem != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user