We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85bdb86 commit 6c60058Copy full SHA for 6c60058
Cryptomator/VaultDetail/VaultDetailViewModel.swift
@@ -86,18 +86,13 @@ class VaultDetailViewModel: VaultDetailViewModelProtocol {
86
87
private lazy var sections: [VaultDetailSection] = {
88
var sections: [VaultDetailSection] = [.vaultInfoSection, .lockingSection]
89
-
90
if vaultIsEligibleToMove() {
91
sections.append(.moveVaultSection)
92
}
93
94
- if vaultInfo.vaultConfigType != .hub {
+ if vaultInfo.vaultConfigType == .masterkeyFile {
95
sections.append(.changeVaultPasswordSection)
96
97
98
- // Ensure removeVaultSection is always the last element
99
sections.append(.removeVaultSection)
100
101
return sections
102
}()
103
0 commit comments