Skip to content

Commit 4bc7167

Browse files
committed
放开RewardStore的unlocked的读权限
1 parent 0bbed45 commit 4bc7167

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/TaskKit/Persistence/RewardStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public final class RewardStore {
1313
private init() { load() }
1414

1515
private let key = "reward_store"
16-
private(set) var unlocked: Set<String> = []
16+
public private(set) var unlocked: Set<String> = []
1717

1818
public func markUnlocked(_ id: String) {
1919
if unlocked.insert(id).inserted {

0 commit comments

Comments
 (0)