From 1190462c949600d48252d88b07bace6260e959ae Mon Sep 17 00:00:00 2001 From: alperozturk Date: Wed, 6 Mar 2024 16:38:44 +0100 Subject: [PATCH] Fix nextcloud deletion Signed-off-by: alperozturk --- .../com/owncloud/android/lib/common/OwnCloudClientManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/src/main/java/com/owncloud/android/lib/common/OwnCloudClientManager.java b/library/src/main/java/com/owncloud/android/lib/common/OwnCloudClientManager.java index 3dec3dfb4..fcfa3ba00 100644 --- a/library/src/main/java/com/owncloud/android/lib/common/OwnCloudClientManager.java +++ b/library/src/main/java/com/owncloud/android/lib/common/OwnCloudClientManager.java @@ -267,6 +267,7 @@ public OwnCloudClient removeClientFor(OwnCloudAccount account) { String accountName = account.getName(); if (accountName != null) { client = mClientsWithKnownUsername.remove(accountName); + clientsNewWithKnownUsername.remove(accountName); if (client != null) { if (Log.isLoggable(TAG, Log.VERBOSE)) { Log_OC.v(TAG, "Removed client for account " + accountName);