Skip to content

Commit

Permalink
Fix app
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuSoysal authored Apr 28, 2023
1 parent 5f19935 commit 748b6e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/github/mathieusoysal/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public static void main(String[] args) {
try (Roboto roboto = new Roboto()) {
checkAllEnvVariables(ENV_NAME_MAIL, ENV_NAME_PASSWORD);
roboto.connect(System.getenv(ENV_NAME_MAIL), System.getenv(ENV_NAME_PASSWORD));
while (roboto.checkinButtonIsPresent())
roboto.refreshPage();
while (!roboto.checkinButtonIsPresent())
roboto.refreshPage();
roboto.clickOnSubscription();
} catch (RobotoException e) {
Expand Down

0 comments on commit 748b6e7

Please sign in to comment.