Cleanup few remaining atYEnd usages in TimelineView

These were either mistakes or rebase errors, but we should be using
closeToYEnd here.

(cherry picked from commit 3b8930c2bc)
This commit is contained in:
Joshua Goins
2026-01-17 13:23:21 -05:00
parent 82989e7ef2
commit e64b6033f3

View File

@@ -114,7 +114,7 @@ QQC2.ScrollView {
*/
function allUnreadVisible() {
let readMarkerRow = model.readMarkerIndex?.row ?? -1;
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && atYEnd) {
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && closeToYEnd) {
return true;
}
return false;
@@ -199,7 +199,7 @@ QQC2.ScrollView {
}
}
onAtYEndChanged: {
onCloseToYEndChanged: {
// Don't care about this until the view has settled first.
if (!_private.viewHasSettled) {
return;