mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
Merge pull request #11230 from nextcloud/e2eCorrectState
Show setup e2e only when
This commit is contained in:
commit
4cedd9d30d
1 changed files with 3 additions and 1 deletions
|
@ -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 -> {
|
||||
|
|
Loading…
Reference in a new issue