mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 06:47:03 +03:00
Fix NullPointerException
Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference Signed-off-by: stefan-niedermann <info@niedermann.it>
This commit is contained in:
parent
e87ddac3a0
commit
f405a20491
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ public class NoteServerSyncHelper {
|
|||
}
|
||||
} else {
|
||||
Log.d(TAG, "... do nothing");
|
||||
if (callbacksPull.containsKey(ssoAccount.name) && callbacksPull.get(ssoAccount.name) != null) {
|
||||
if (callbacksPush.containsKey(ssoAccount.name) && callbacksPush.get(ssoAccount.name) != null) {
|
||||
for (ISyncCallback callback : callbacksPush.get(ssoAccount.name)) {
|
||||
callback.onScheduled();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue