Skip to content

Commit

Permalink
Duration: undo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Mihajlov committed Sep 22, 2023
1 parent 5bc7c2d commit e6a4f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MullvadTypes/Duration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Foundation
/// then be deleted without affecting the rest of the code base.
@available(iOS, introduced: 14.0, obsoleted: 16.0, message: "Replace with native Duration type.")
public struct Duration {
private(set) public var components: (seconds: Int64, attoseconds: Int64)
private(set) var components: (seconds: Int64, attoseconds: Int64)

public init(secondsComponent: Int64, attosecondsComponent: Int64 = 0) {
components = (
Expand Down

0 comments on commit e6a4f09

Please sign in to comment.