Make URLs load correctly after clicking a lbry:// link with the app closed #257

Merged
alexliebowitz merged 1 commit from fix-url-load-on-start into master 2017-06-19 14:34:03 +02:00
alexliebowitz commented 2017-06-19 14:12:50 +02:00 (Migrated from github.com)

We were loading the Discover page at the end of the launch screen. That meant that if a user started with LBRY closed and started it by clicking on a lbry:// link, it would load during the launch screen but then get overridden by the Discover page as soon as the launch screen finished.

Fortunately, this load was redundant anyway as the necessary state is already being set in the default state for the App component:
902fb96878/ui/js/reducers/app.js (L7)

We were loading the Discover page at the end of the launch screen. That meant that if a user started with LBRY closed and started it by clicking on a lbry:// link, it would load during the launch screen but then get overridden by the Discover page as soon as the launch screen finished. Fortunately, this load was redundant anyway as the necessary state is already being set in the default state for the App component: https://github.com/lbryio/lbry-app/blob/902fb96878c175d480be9ed11207a21bedd61713/ui/js/reducers/app.js#L7
kauffj (Migrated from github.com) reviewed 2017-06-19 14:12:50 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#257
No description provided.