Skip to content

Commit

Permalink
Replaced deprecated removeLast
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradbury committed Jan 16, 2025
1 parent e1aac0d commit add57e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class QuickLinksItemViewModelSlice @Inject constructor(
this@QuickLinksItemViewModelSlice::onMoreClick
)
)
quickLinkItems.removeLast()
quickLinkItems.removeAt(quickLinkItems.lastIndex)
quickLinkItems.add(lastItem)
quickLinks.copy(quickLinkItems = quickLinkItems, showMoreFocusPoint = true)
} else {
Expand Down

0 comments on commit add57e5

Please sign in to comment.