diff --git a/src/target/java_android.cr b/src/target/java_android.cr index dc70204..b7087fe 100644 --- a/src/target/java_android.cr +++ b/src/target/java_android.cr @@ -838,8 +838,7 @@ END }); } }; - - timer.schedule(task, 0, 2000); + timer.scheduleAtFixedRate(task, 0, 2000); } static Calendar toCalendar(Date date){