mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-22 13:37:07 +00:00
Xcode 11.4 changes
This commit is contained in:
parent
9c60a0b7dd
commit
c306801149
@ -65,9 +65,7 @@ extension Agent {
|
|||||||
extension Agent {
|
extension Agent {
|
||||||
|
|
||||||
func identities() -> Data {
|
func identities() -> Data {
|
||||||
// TODO: RESTORE ONCE XCODE 11.4 IS GM
|
let secrets = storeList.stores.flatMap(\.secrets)
|
||||||
let secrets = storeList.stores.flatMap { $0.secrets }
|
|
||||||
// let secrets = storeList.stores.flatMap(\.secrets)
|
|
||||||
var count = UInt32(secrets.count).bigEndian
|
var count = UInt32(secrets.count).bigEndian
|
||||||
let countData = Data(bytes: &count, count: UInt32.bitWidth/8)
|
let countData = Data(bytes: &count, count: UInt32.bitWidth/8)
|
||||||
var keyData = Data()
|
var keyData = Data()
|
||||||
|
@ -110,7 +110,7 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
|
|||||||
} else {
|
} else {
|
||||||
fallback = Constants.emptyStoreTag
|
fallback = Constants.emptyStoreTag
|
||||||
}
|
}
|
||||||
return self.storeList.stores.compactMap { $0.secrets.first }.first?.id ?? fallback
|
return self.storeList.stores.compactMap(\.secrets.first).first?.id ?? fallback
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user