From 97733848e7fc7d666d51f0efbc35be0d355021d5 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 19 Jul 2017 13:28:25 +0200 Subject: [PATCH] SetTbrCommand: replace static wait with dynamic wait to have completionDate more accurate. --- .../java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java b/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java index 5f2bf7d83f..c5c794b1e5 100644 --- a/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java +++ b/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java @@ -105,7 +105,7 @@ public class SetTbrCommand implements Command { // confirm TBR scripter.pressCheckKey(); - SystemClock.sleep(500); + scripter.waitForMenuToBeLeft(MenuType.TBR_DURATION); } scripter.verifyMenuIsDisplayed(MenuType.MAIN_MENU,