Merge branch 'master' of github.com:maxgoedjen/secretive

This commit is contained in:
Max Goedjen
2020-05-15 23:10:20 -07:00
5 changed files with 7 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
} else {
fallback = Constants.emptyStoreTag
}
return self.storeList.stores.compactMap { $0.secrets.first }.first?.id ?? fallback
return self.storeList.stores.compactMap(\.secrets.first).first?.id ?? fallback
}
}