Skip to content

Commit

Permalink
fine tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
teticio committed Oct 3, 2021
1 parent 8fccbb8 commit 5d25251
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "^1.10.3",
"react-native-get-random-values": "^1.7.0",
"react-native-paper": "^4.9.2",
"react-native-svg": "^12.1.1",
"react-native-vector-icons": "^8.1.0",
Expand Down
5 changes: 3 additions & 2 deletions src/components/Playlist.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PureComponent, Suspense, useState } from 'react';
import 'react-native-get-random-values';
import { v4 as uuidv4 } from 'uuid';
import { View, Spinner, IFrame } from './Platform';

Expand Down Expand Up @@ -54,13 +55,13 @@ export default function Playlist({ track_ids = [], waypoints = [] }) {
<View
style={{
display: 'flex',
height: height,
width: '100%',
height: height,
justifyContent: 'center',
alignItems: 'center'
}}
>
<Spinner size='large' />
<Spinner animation='border' size='lg' />
</View>
} >
<SpotifyPlaylistWidget
Expand Down
2 changes: 1 addition & 1 deletion src/components/ShowPlaylists.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function ShowPlaylists({ playlists, spotify = null, header = null
<FlatList
initialNumToRender={1}
maxToRenderPerBatch={1}
updateCellsBatchingPeriod={5000}
updateCellsBatchingPeriod={500}
ListHeaderComponent={header ? header : null}
data={data}
renderItem={renderItem}
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6644,6 +6644,11 @@ fancy-log@^1.3.2:
parse-node-version "^1.0.0"
time-stamp "^1.0.0"

fast-base64-decode@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz#b434a0dd7d92b12b43f26819300d2dafb83ee418"
integrity sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q==

fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
Expand Down Expand Up @@ -11747,6 +11752,13 @@ react-native-gesture-handler@^1.10.3:
invariant "^2.2.4"
prop-types "^15.7.2"

react-native-get-random-values@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/react-native-get-random-values/-/react-native-get-random-values-1.7.0.tgz#86d9d1960828b606392dba4540bf760605448530"
integrity sha512-zDhmpWUekGRFb9I+MQkxllHcqXN9HBSsgPwBQfrZ1KZYpzDspWLZ6/yLMMZrtq4pVqNR7C7N96L3SuLpXv1nhQ==
dependencies:
fast-base64-decode "^1.0.0"

react-native-iphone-x-helper@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz#20c603e9a0e765fd6f97396638bdeb0e5a60b010"
Expand Down

0 comments on commit 5d25251

Please sign in to comment.