Skip to content
Discussion options

You must be logged in to vote

I've managed to figure it out eventually.

As I mentioned in my previous reply, I can confirm that calling display_info from on_mount works in the minimal example.

Now, in my Syncthing project, I had to cut query_one from the watch method and (still within the second screen) move it inside on_mount. I still don't understand fully why this is needed, but I no longer receive the error.

Anyway, thank you for your help!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@TomJGooding
Comment options

@maxigaz
Comment options

@davep
Comment options

@maxigaz
Comment options

Answer selected by maxigaz
@davep
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants