diff --git a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java index 58e1edfc7e..4bf7e83ece 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java @@ -428,7 +428,9 @@ public class SettingsActivity extends PreferenceActivity if (preference != null) { if (FileOperationsHelper.isEndToEndEncryptionSetup(this, user) || - CapabilityUtils.getCapability(this).getEndToEndEncryptionKeysExist().isTrue()) { + CapabilityUtils.getCapability(this).getEndToEndEncryptionKeysExist().isTrue() || + CapabilityUtils.getCapability(this).getEndToEndEncryptionKeysExist().isUnknown() + ) { preferenceCategoryMore.removePreference(preference); } else { preference.setOnPreferenceClickListener(p -> {