bug fix where openning a repo with no readme would crash the app

This commit is contained in:
2026-02-05 18:10:40 +11:00
parent bb3b235a30
commit 14c7992dea

View File

@@ -173,7 +173,7 @@ class RepoViewScreen(Screen):
files.add_rows(rows)
if not found_readme:
readme.update("This repository has no `README.md` file.")
self.app.call_from_thread(readme.update, "This repository has no `README.md` file.")
loading.display = False
files.display = True