Skip to content

Commit 1c03d7f

Browse files
authored
Merge pull request #27 from nfhipona/patch/bug-fix
Fix isAutoStoringEnabled not being utilized
2 parents b367ef0 + e7f12c0 commit 1c03d7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Pod/Classes/ACTFDomain.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ public class ACTFDomain: Codable {
2626

2727
public func updateWeightUsage() {
2828
weight += 1
29-
store()
29+
30+
if isAutoStoringEnabled {
31+
store()
32+
}
3033
}
3134
}
3235

0 commit comments

Comments
 (0)