Skip to content

Commit 8a35601

Browse files
authored
Merge pull request #2 from reduxkotlin/pj-0.2.9
update redux version to 0.2.6
2 parents ad3c417 + 121df90 commit 8a35601

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'kotlin-multiplatform'
77
archivesBaseName = 'reselect'
88

99
group 'org.reduxkotlin'
10-
version '0.2.8'
10+
version '0.2.9'
1111

1212
kotlin {
1313
jvm()
@@ -61,7 +61,7 @@ kotlin {
6161
commonMain {
6262
dependencies {
6363
implementation kotlin("stdlib-common")
64-
implementation "org.reduxkotlin:redux-kotlin:0.2.4"
64+
implementation "org.reduxkotlin:redux-kotlin:0.2.6"
6565
}
6666
}
6767
commonTest {

lib/src/commonMain/kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ package org.reduxkotlin
88
* @property store The redux store
99
* @constructor creates an empty SelectorSubscriberBuilder
1010
*/
11-
class SelectorSubscriberBuilder<State : Any>(val store: Store) {
11+
class SelectorSubscriberBuilder<State : Any>(val store: Store<State>) {
1212

1313
val selectorList = mutableMapOf<Selector<State, Any>, (Any) -> Unit>()
1414

1515
//state is here to make available to lambda with receiver in DSL
1616
val state: State
17-
get() = store.getState() as State
17+
get() = store.getState()
1818

1919
var withAnyChangeFun: (() -> Unit)? = null
2020

0 commit comments

Comments
 (0)