Closed Krzysztofz01 closed 1 year ago
This one is a little charged - the dashboard screen is supposed to be display only and proof against accidental interaction (there have also been requests for other controls such as upload.) This is why the user request wasn't implemented yet... thoughts @bobzilladev ?
Unfortunately people will accidentally press this and then have a horrible experience of not collecting anything on their drive, I think this needs to be a read-only view. Could add a series of confirmation dialog/checkboxes, but then folks will be annoyed accidentally pressing the button and having to clear a bunch of UI elements to get back to the driving view.
Right, sometimes you have to refuse to implement a desired features for the sake of the end-user. So I close the pull request, we can note in the TODO file that there is a pull request that was supposed to add such functionality.
The goal of this pull request is to implement the functionality proposed by users. Information about the scanning status from the dashboard will be replaced with a button that allows you to pause/resume the scanning process. I have refactored, also a function that formats the run and scan duration as suggested by TODO. I ran into a problem implementing
ConfirmationDialog
. I was guided by the code fromMainActivity
, but despite callingConfirmationDialog
, theSharedPreference
does not change and such exception appears:I would be very grateful for suggestions on how to deal with this problem and get this pull request to be mergeable.