cgeo
cgeo copied to clipboard
disable the "Send" button in log activity while it's not yet available
disable the "Send" button in log activity while it's not yet available (loading TBs and log types), enable it once that is loaded.
partially fixes #13337 - there's no progress shown yet during the operation to indicate to the user that something is happening. I noticed showProgress(true) in the code of that class which sounds quite fitting, but not sure what it's supposed to do. Legacy stuff, broken?
I noticed showProgress(true) in the code of that class which sounds quite fitting, but not sure what it's supposed to do. Legacy stuff, broken?
Not sure. But even if it would work, it was probably designed as blocking progress identicator. However in this case, the loading indicator should not block the whole activity...
Adding a progress indicator is quite easy. Just add a com.google.android.material.progressindicator.CircularProgressIndicator
view to the layout file and show/hide it at the same places where you disable/enable the "Send" button
Let's give it a try in the nightlies...