Skip to content

Commit

Permalink
hiding line logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jan 2, 2025
1 parent 147e7ac commit d4cfd7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/qml/components/MMListDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Item {
if ( index >= ListView.view.count - 1 )
return false;

// hide line if next item is invisible
// hide line if next item is invisible and is the last item
var nextItem = ListView.view.itemAtIndex( index + 1 );
if ( nextItem && !nextItem.visible )
if ( nextItem && !nextItem.visible && index + 1 >= ListView.view.count - 1 )
return false;

return true;
Expand Down

1 comment on commit d4cfd7e

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 25.1.697411 just submitted!

Please sign in to comment.