[flatpak] fix: wrong encoded strings displayed (requires Flatpak >= 1.12)

This commit is contained in:
Vinicius Moreira
2022-03-25 09:06:51 -03:00
parent e56ee01d52
commit a5ed57177c
5 changed files with 44 additions and 26 deletions

View File

@@ -55,7 +55,9 @@ class FlatpakAsyncDataLoader(Thread):
if not self.app.name:
self.app.name = data.get('name')
self.app.description = data.get('description', data.get('summary', None))
if not self.app.description:
self.app.description = data.get('description', data.get('summary', None))
self.app.icon_url = data.get('iconMobileUrl', None)
self.app.latest_version = data.get('currentReleaseVersion', self.app.version)