Skip to content

Commit

Permalink
refact: default value of Platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
makinosp committed Oct 21, 2024
1 parent 769aa92 commit 94cf311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/VRCKit/Models/World/InstanceModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public struct Instance: Sendable, Identifiable, Hashable, Decodable {

@MemberwiseInit(.public)
public struct Platforms: Sendable, Hashable, Codable {
public let android: Int
public let ios: Int
public let standalonewindows: Int
@Init(default: 0) public let android: Int
@Init(default: 0) public let ios: Int
@Init(default: 0) public let standalonewindows: Int
}

public enum GroupAccessType: String, Sendable, Codable {
Expand Down

0 comments on commit 94cf311

Please sign in to comment.