mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 17:34:14 +02:00
[flatpak] fix update-check for 1.5.x | [appimage] tray update notifications
This commit is contained in:
@@ -100,7 +100,11 @@ class FlatpakManager(SoftwareManager):
|
||||
for app_json in installed:
|
||||
model = self._map_to_model(app_json=app_json, installed=True,
|
||||
disk_loader=disk_loader, internet=internet_available)
|
||||
model.update = app_json['ref'] in updates[0] if updates else None
|
||||
if version >= '1.5.0':
|
||||
model.update = '{}/{}'.format(app_json['id'], app_json['branch']) in updates[0] if updates else None
|
||||
else:
|
||||
model.update = app_json['ref'] in updates[0] if updates else None
|
||||
|
||||
models.append(model)
|
||||
|
||||
return SearchResult(models, None, len(models))
|
||||
|
||||
Reference in New Issue
Block a user