File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
source/views/streaming/radio Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -181,16 +181,18 @@ export class KSTOView extends React.PureComponent<Props, State> {
181181 < ShowCalendarButton onPress = { this . openSchedule } />
182182 </ Row >
183183
184- { Platform . OS !== 'android' ? < StreamPlayer
185- onEnded = { this . handleStreamEnd }
186- // onWaiting={this.handleStreamWait}
187- onError = { this . handleStreamError }
188- // onStalled={this.handleStreamStall}
189- onPause = { this . handleStreamPause }
190- onPlay = { this . handleStreamPlay }
191- playState = { this . state . playState }
192- style = { styles . webview }
193- /> : null }
184+ { Platform . OS !== 'android' ? (
185+ < StreamPlayer
186+ onEnded = { this . handleStreamEnd }
187+ // onWaiting={this.handleStreamWait}
188+ onError = { this . handleStreamError }
189+ // onStalled={this.handleStreamStall}
190+ onPause = { this . handleStreamPause }
191+ onPlay = { this . handleStreamPlay }
192+ playState = { this . state . playState }
193+ style = { styles . webview }
194+ />
195+ ) : null }
194196 </ View >
195197 </ ScrollView >
196198 )
You can’t perform that action at this time.
0 commit comments