diff --git a/app/src/main/java/lunainc/com/mx/pricetracker/UI/MainActivity.java b/app/src/main/java/lunainc/com/mx/pricetracker/UI/MainActivity.java index 1c4cfdd..e61ff22 100644 --- a/app/src/main/java/lunainc/com/mx/pricetracker/UI/MainActivity.java +++ b/app/src/main/java/lunainc/com/mx/pricetracker/UI/MainActivity.java @@ -150,7 +150,7 @@ public void onItemLongClick(View view, int position) { public void periodicWork() { - PeriodicWorkRequest mRequest = new PeriodicWorkRequest.Builder(MyWorker.class, 6, TimeUnit.HOURS) + PeriodicWorkRequest mRequest = new PeriodicWorkRequest.Builder(MyWorker.class, 1, TimeUnit.HOURS) .setConstraints(Constraints.NONE) .build();