quickfix for hiding the getmore button in the feeditems view when the api returns a different amount than the maximum possible, this needs fixing if a different limit is set

This commit is contained in:
Hauke Schade 2013-08-14 22:35:21 +02:00
parent 1cacf1a081
commit c63bb486e7

View file

@ -83,6 +83,9 @@ ListModel {
else
root.insert(0, modelEntry)
}
// QUICKFIX FIXME the ttrss api will always query exactly 200 elements so if we get a different amount there are none left
if (feeditems.length !== 200)
hasMoreItems = false
}
else
hasMoreItems = false