Cleanup few remaining atYEnd usages in TimelineView

These were either mistakes or rebase errors, but we should be using
closeToYEnd here.
This commit is contained in:
Joshua Goins
2026-01-17 13:23:21 -05:00
parent 7e34570a05
commit 3b8930c2bc

View File

@@ -109,7 +109,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;
@@ -194,7 +194,7 @@ QQC2.ScrollView {
}
}
onAtYEndChanged: {
onCloseToYEndChanged: {
// Don't care about this until the view has settled first.
if (!_private.viewHasSettled) {
return;