Skip to content

Commit ad0347a

Browse files
committed
hide the streamplayer on android
1 parent 2e63bf1 commit ad0347a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/views/streaming/radio/controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class KSTOView extends React.PureComponent<Props, State> {
165165
<ShowCalendarButton onPress={this.openSchedule} />
166166
</Row>
167167

168-
<StreamPlayer
168+
{Platform.OS !== 'android' ? <StreamPlayer
169169
onEnded={this.handleStreamEnd}
170170
// onWaiting={this.handleStreamWait}
171171
onError={this.handleStreamError}
@@ -174,7 +174,7 @@ export class KSTOView extends React.PureComponent<Props, State> {
174174
onPlay={this.handleStreamPlay}
175175
playState={this.state.playState}
176176
style={styles.webview}
177-
/>
177+
/> : null}
178178
</View>
179179
</ScrollView>
180180
)

0 commit comments

Comments
 (0)