If tor is already started, the ActionJob will still be dispatched as being executed but will not do anything. There is no change to TorState. Currently, the Notification will update text and progress whenever observing an executable action. Unfortunately, it results in the progress bar changing to indeterminate behavior and not being set back.
Need to track local variable of the last action, and then when the TorState observer progress is that of Indeterminate, Use the last action local variable to set the text. If no state changes, then that action was ignored.
If tor is already started, the
ActionJob
will still be dispatched as being executed but will not do anything. There is no change toTorState
. Currently, the Notification will update text and progress whenever observing an executable action. Unfortunately, it results in the progress bar changing to indeterminate behavior and not being set back.Need to track local variable of the last action, and then when the
TorState
observer progress is that ofIndeterminate
, Use the last action local variable to set the text. If no state changes, then that action was ignored.