fix content collapse button not working in notifications (#1665)
This commit is contained in:
parent
4a9951e245
commit
c379014d9a
|
@ -551,7 +551,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
|
||||||
contentCollapseButton.setOnClickListener(view -> {
|
contentCollapseButton.setOnClickListener(view -> {
|
||||||
int position = getAdapterPosition();
|
int position = getAdapterPosition();
|
||||||
if (position != RecyclerView.NO_POSITION && notificationActionListener != null) {
|
if (position != RecyclerView.NO_POSITION && notificationActionListener != null) {
|
||||||
notificationActionListener.onNotificationContentCollapsedChange(statusViewData.isCollapsed(), position);
|
notificationActionListener.onNotificationContentCollapsedChange(!statusViewData.isCollapsed(), position);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue