Skip to content

Commit 3fc46b5

Browse files
committed
Changes 'isItemSelected' prop to be use the primitive boolean values and not the calculating function
1 parent 1c9fd02 commit 3fc46b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/RowSubItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class RowSubItem extends Component {
173173
>
174174
{!shouldUseCostumeRender && this._renderDefaultContent()}
175175

176-
{shouldUseCostumeRender && <CustomSubItemContentRenderer subItem={subItem} isItemSelected={this._itemSelected}/> }
176+
{shouldUseCostumeRender && <CustomSubItemContentRenderer subItem={subItem} isItemSelected={itemSelected}/> }
177177
</TouchableOpacity>
178178
</View>
179179
)

0 commit comments

Comments
 (0)