Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lbry
lbry-react-native
Commits
24d580ea
Commit
24d580ea
authored
Jan 10, 2020
by
Akinwale Ariwodola
Browse files
remove calls to doCheckSubscriptionsInit
parent
bfc3b110
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/page/splash/index.js
View file @
24d580ea
...
...
@@ -4,7 +4,6 @@ import {
doAuthenticate
,
doBlackListedOutpointsSubscribe
,
doFilteredOutpointsSubscribe
,
doCheckSubscriptionsInit
,
doFetchMySubscriptions
,
doFetchRewardedContent
,
doGetSync
,
...
...
@@ -27,7 +26,6 @@ const perform = dispatch => ({
balanceSubscribe
:
()
=>
dispatch
(
doBalanceSubscribe
()),
blacklistedOutpointsSubscribe
:
()
=>
dispatch
(
doBlackListedOutpointsSubscribe
()),
filteredOutpointsSubscribe
:
()
=>
dispatch
(
doFilteredOutpointsSubscribe
()),
checkSubscriptionsInit
:
()
=>
dispatch
(
doCheckSubscriptionsInit
()),
fetchRewardedContent
:
()
=>
dispatch
(
doFetchRewardedContent
()),
fetchSubscriptions
:
callback
=>
dispatch
(
doFetchMySubscriptions
(
callback
)),
getSync
:
(
password
,
callback
)
=>
dispatch
(
doGetSync
(
password
,
callback
)),
...
...
@@ -42,5 +40,5 @@ const perform = dispatch => ({
export
default
connect
(
select
,
perform
perform
,
)(
SplashScreen
);
src/page/splash/view.js
View file @
24d580ea
...
...
@@ -130,7 +130,6 @@ class SplashScreen extends React.PureComponent {
authenticate
,
balanceSubscribe
,
blacklistedOutpointsSubscribe
,
checkSubscriptionsInit
,
filteredOutpointsSubscribe
,
getSync
,
updateBlockHeight
,
...
...
@@ -142,7 +141,6 @@ class SplashScreen extends React.PureComponent {
balanceSubscribe
();
blacklistedOutpointsSubscribe
();
filteredOutpointsSubscribe
();
checkSubscriptionsInit
();
if
(
user
&&
user
.
id
&&
user
.
has_verified_email
)
{
// user already authenticated
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment