Skip to content

Commit

Permalink
The compatible info should only show for installed app (#131)
Browse files Browse the repository at this point in the history
Fixes #100

The compatible info will be shown during the installation, which is not the expected behavior. The compatible info is only shown for the app installed.
  • Loading branch information
unkcpz committed Mar 1, 2023
1 parent 9698cd1 commit 51d8135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions home/app_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ def _refresh_widget_state(self, _=None):
not busy
and any(self.app.compatibility_info.values())
and self.app.compatible is False
and self.app.is_installed()
):
self.compatibility_info.value = self.COMPATIBILITY_INFO.render(
app=self.app
Expand Down
4 changes: 2 additions & 2 deletions single_app.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -87,7 +87,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.9.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 51d8135

Please sign in to comment.