Skip to content

Commit

Permalink
Fix state access control
Browse files Browse the repository at this point in the history
The getter must be public.
  • Loading branch information
Malcolm Jarvis committed Oct 12, 2018
1 parent d93cd32 commit 83df438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReSwift/CoreTypes/Store.swift
Expand Up @@ -17,7 +17,7 @@ open class Store<State: StateType>: StoreType {

typealias SubscriptionType = SubscriptionBox<State>

private(set) var state: State! {
private(set) public var state: State! {
didSet {
subscriptions.forEach {
if $0.subscriber == nil {
Expand Down

0 comments on commit 83df438

Please sign in to comment.