Fixes #139 by changing RequireView() in the coroutine to using the rootView of WalletHome. This way the coroutine will use the rootView instead of finding the missing child view when the fragment is changed.
Another way of fixing this would be using a boolean that does not let the coroutine use the snackbar when the fragment is paused, do let me know if this is not the ideal solution!
The other snackbars need not be changed since they are not launched in a coroutine.
Fixes #139 by changing RequireView() in the coroutine to using the rootView of WalletHome. This way the coroutine will use the rootView instead of finding the missing child view when the fragment is changed.
Another way of fixing this would be using a boolean that does not let the coroutine use the snackbar when the fragment is paused, do let me know if this is not the ideal solution!
The other snackbars need not be changed since they are not launched in a coroutine.