Skip to content

Commit

Permalink
Merge pull request #77 from linuxboss182/master
Browse files Browse the repository at this point in the history
Fixes #76
  • Loading branch information
lufinkey committed Sep 25, 2018
2 parents e5910ba + 657a6c4 commit 7874560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/InitialScreen.js
Expand Up @@ -8,7 +8,7 @@ import {
TouchableHighlight,
View
} from 'react-native';
import { NavigationActions } from 'react-navigation';
import { StackActions, NavigationActions } from 'react-navigation';
import Spotify from 'rn-spotify-sdk';

export class InitialScreen extends Component
Expand All @@ -27,7 +27,7 @@ export class InitialScreen extends Component

goToPlayer()
{
const navAction = NavigationActions.reset({
const navAction = StackActions.reset({
index: 0,
actions: [
NavigationActions.navigate({ routeName: 'player'})
Expand Down

0 comments on commit 7874560

Please sign in to comment.