diff --git a/android/app/build.gradle b/android/app/build.gradle index c6cbfd0..b4434d0 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -119,7 +119,7 @@ android { applicationId 'com.squaretabledevelopment.socialsquare' minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 8 + versionCode 12 versionName "0.0.1" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() diff --git a/screens/VotesViewPage.js b/screens/VotesViewPage.js index 5fe1dd4..0746227 100644 --- a/screens/VotesViewPage.js +++ b/screens/VotesViewPage.js @@ -36,11 +36,13 @@ export default function VotesViewPage({route}) { DisplayComponent={UserItem} state={upvoteSelected ? upvoteState : downvoteState} dispatch={upvoteSelected ? dispatchUpvotes : dispatchDownvotes} - getItemLayout={(data, index) => { - return { - length: 70, - offset: 70 * index, - index + extraProps={{ + getItemLayout: (data, index) => { + return { + length: 70, + offset: 70 * index, + index + } } }} noMoreItemsText="No more items left"