Use one build number across phone, Mac and Status
This commit is contained in:
@@ -116,6 +116,7 @@ final class API: Sendable {
|
||||
self.origin = origin
|
||||
let config = URLSessionConfiguration.default
|
||||
config.httpAdditionalHeaders = [
|
||||
"Byre-Build": Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as! String,
|
||||
"Byre-Client": clientID,
|
||||
"Byre-Commit": Bundle.main.object(forInfoDictionaryKey: "ByreCommit") as! String,
|
||||
"Byre-Device": deviceKind,
|
||||
|
||||
@@ -499,7 +499,7 @@ private struct ClientTable: View {
|
||||
}
|
||||
|
||||
private func build(_ c: ConnectedClient) -> String {
|
||||
c.commit.isEmpty ? "—" : String(c.commit.prefix(8))
|
||||
c.build.isEmpty ? "—" : c.build
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user