Currently, the routine to fetch a wallet's active subscriptions uses the dependency ThreadingWithResult. It is the only call to this dependency. The reason for this dep is because the Subscription routine in HandleWalletFunctions returns the dictionary list of subscriptions and accepting a return value with threading is complicated and this dep satisified it.
However, this currently threading exists on the mainthread and so locks the app. A better alternative would be to create a public variable in HandleWalletFunctions of SubResult and change the screens.py call to use this variable in the main instance. Little work needs to be done to achieve this but it is not complicated.
Currently, the routine to fetch a wallet's active subscriptions uses the dependency ThreadingWithResult. It is the only call to this dependency. The reason for this dep is because the Subscription routine in HandleWalletFunctions returns the dictionary list of subscriptions and accepting a return value with threading is complicated and this dep satisified it.
However, this currently threading exists on the mainthread and so locks the app. A better alternative would be to create a public variable in HandleWalletFunctions of
SubResult
and change thescreens.py
call to use this variable in the main instance. Little work needs to be done to achieve this but it is not complicated.Query me for me precise instructions.