Query widgets by screen instead of by app

Related: https://github.com/Textualize/textual/issues/4258

After creating a issue in the textual repository, we received a response that we should not use query: self.app.query_one, but self.screen.query_one. This MR solves this problem and the NoMatches error is no longer present.

Edited by Jakub Ziebinski

Merge request reports

Loading