Skip to content

Commit

Permalink
nil context title crash fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
srfaytkn authored and cjam committed May 7, 2021
1 parent 1768983 commit e2f8124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNSpotifyRemoteConvert.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ +(id)SPTAppRemotePlayerState:(NSObject<SPTAppRemotePlayerState>*) state{
@"playbackOptions": [RNSpotifyRemoteConvert SPTAppRemotePlaybackOptions:state.playbackOptions]
},
@"context": @{
@"title": state.contextTitle,
@"title": state.contextTitle ? state.contextTitle : @"",
@"uri": state.contextURI
}
};
Expand Down

0 comments on commit e2f8124

Please sign in to comment.