summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/LogWindowWrapper.java
AgeCommit message (Collapse)Author
2015-04-22Remove traces of the "reason" field.Parménides GV
2015-04-22Remove textual status.Parménides GV
I had a difficult moment trying to detect if the LogWindow had already been shown after an error. Finally, I implemented a LogWindowWrapper which contains a field for the reason it was shown, so that we can check if the previous error is the same than the current one leading to the avoidance of the second LogWindow. For this to work, we need to reset that reason each time we trigger a new vpn state (i.e. each time the user taps on the vpn icon).