flatpak: Report latest available version
It is not guaranteed that the release list returned by AppStream will be ordered, so let's check for the latest one to avoid showing an older version number on the updates page.
It showed Version 4.7.1 -> 4.6.2
before the changes. Now I cannot reproduce the bug anymore even without this patch.
Might it be a caching issue on the AppStream side?
BUG: 465864 BUG: 448521 FIXED-IN: 5.27
Edited by Ismael Asensio