Commit 5c15ba6c authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update UnreadRoomListHeader.java

parent 6ae9c638
...@@ -25,12 +25,12 @@ public class UnreadRoomListHeader implements RoomListHeader { ...@@ -25,12 +25,12 @@ public class UnreadRoomListHeader implements RoomListHeader {
@Override @Override
public boolean shouldShow(@NonNull List<RoomSidebar> roomSidebarList) { public boolean shouldShow(@NonNull List<RoomSidebar> roomSidebarList) {
for (int i = 0, size = roomSidebarList.size(); i < size; i++) { for (RoomSidebar roomSidebar: roomSidebarList) {
if (roomSidebarList.get(i).isAlert()) { if (roomSidebar.isAlert()) {
return true; return true;
} }
} }
return false; return false;
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment