Skip to content

Commit

Permalink
refactor : 개행 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
2taezeat committed Dec 5, 2023
1 parent 32d8189 commit a100d11
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,20 @@ import androidx.media3.common.MediaMetadata
import androidx.media3.exoplayer.ExoPlayer
import com.ohdodok.catchytape.core.domain.model.Music


fun ExoPlayer.moveNextMedia() {
seekToNextMediaItem()
if (isPlaying) {
play()
}
}


fun ExoPlayer.movePreviousMedia() {
seekToPreviousMediaItem()
if (isPlaying) {
play()
}
}


fun getMediasWithMetaData(musics: List<Music>): List<MediaItem> {
val mediaItemBuilder = MediaItem.Builder()
val mediaMetadataBuilder = MediaMetadata.Builder()
Expand Down

0 comments on commit a100d11

Please sign in to comment.