From 537b16949e2c10d5df6fe2c6bac3454b72cd4cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sun, 19 Jan 2020 21:52:08 +0100 Subject: [PATCH] [Updates] Fix running update worker in Java. --- .../edziennik/ui/modules/settings/SettingsNewFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java index 0ef6b2d3..d88aec98 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java @@ -1211,7 +1211,7 @@ public class SettingsNewFragment extends MaterialAboutFragment { .show(); } else { AsyncTask.execute(() -> { - UpdateWorker.Companion.runNow(app); + UpdateWorker.Companion.runNow(app, null); }); } })