Skip to content

Commit e243986

Browse files
committed
remove enum equality hack for previous Scode versions
1 parent c3844f3 commit e243986

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Example/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ViewController: StatefulViewController {
3636
}
3737

3838
func refresh() {
39-
if !(currentState != .Loading) { return } // TODO: beta 7 bug (use currentState == .Loading in future)
39+
if (currentState == .Loading) { return }
4040
startLoading()
4141

4242
// Fake network call

0 commit comments

Comments
 (0)