Skip to content

Commit

Permalink
Merge pull request #35 from brunobar79/patch-1
Browse files Browse the repository at this point in the history
Add scheme to client session info
  • Loading branch information
Dmitry Bespalov authored Nov 4, 2020
2 parents f961eda + b157e8d commit 34779e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/PublicInterface/Session.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ public struct Session: Codable {
public let description: String?
public let icons: [URL]
public let url: URL
public let scheme: String?

public init(name: String, description: String?, icons: [URL], url: URL) {
public init(name: String, description: String?, icons: [URL], url: URL, scheme: String? = nil ) {
self.name = name
self.description = description
self.icons = icons
self.url = url
self.scheme = scheme
}
}

Expand Down

0 comments on commit 34779e9

Please sign in to comment.