mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-10-23 21:25:54 +03:00
Convert Boolean to boolean
This commit is contained in:
parent
2acbbc66ff
commit
398cb4f8ab
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class SyncWorker extends Worker {
|
|||
* @param backgroundSync the toggle result backgroundSync
|
||||
*/
|
||||
|
||||
public static void update(@NonNull Context context, @NonNull Boolean backgroundSync) {
|
||||
public static void update(@NonNull Context context, boolean backgroundSync) {
|
||||
deregister(context);
|
||||
if (backgroundSync) {
|
||||
PeriodicWorkRequest work = new PeriodicWorkRequest.Builder(SyncWorker.class, 15, TimeUnit.MINUTES)
|
||||
|
|
Loading…
Reference in a new issue