Basic no stores view (#66)

This commit is contained in:
Max Goedjen
2020-03-20 20:20:20 -07:00
committed by GitHub
parent a6fbcdbe55
commit 7481498c5b
4 changed files with 41 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ public class SecretStoreList: ObservableObject {
addInternal(store: modifiable)
}
public var anyAvailable: Bool {
stores.reduce(false, { $0 || $1.isAvailable })
}
}
extension SecretStoreList {