mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-23 12:18:41 -06:00
fuck
This commit is contained in:
@@ -11,16 +11,19 @@ export function playPauseButton(playbackState: State | undefined, play: Function
|
||||
|
||||
switch (playbackState) {
|
||||
case (State.Playing) : {
|
||||
button = <Icon name="pause" large onPress={() => pause()} />
|
||||
button = <Icon name="pause" large onPress={() => pause()} />;
|
||||
break;
|
||||
}
|
||||
|
||||
case (State.Buffering) :
|
||||
case (State.Loading) : {
|
||||
button = <Spinner size="small" color={Colors.Primary}/>
|
||||
button = <Spinner size="small" color={Colors.Primary}/>;
|
||||
break;
|
||||
}
|
||||
|
||||
default : {
|
||||
button = <Icon name="play" large onPress={() => play()} />
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user