Skip to content

Commit

Permalink
app: Misc fixes
Browse files Browse the repository at this point in the history
* fix #267
* make #263 play the correct song (albeit non-seamlessly)
  • Loading branch information
mikooomich committed Jan 30, 2025
1 parent af9a20f commit 25fd2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/src/main/java/com/dd3boh/outertune/ui/menu/PlayerMenu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import com.dd3boh.outertune.constants.ListItemHeight
import com.dd3boh.outertune.models.MediaMetadata
import com.dd3boh.outertune.playback.ExoDownloadService
import com.dd3boh.outertune.playback.PlayerConnection.Companion.queueBoard
import com.dd3boh.outertune.playback.queues.YouTubeQueue
import com.dd3boh.outertune.ui.component.BigSeekBar
import com.dd3boh.outertune.ui.component.BottomSheetState
import com.dd3boh.outertune.ui.component.DetailsDialog
Expand Down Expand Up @@ -333,7 +334,7 @@ fun PlayerMenu(
icon = Icons.Rounded.Radio,
title = R.string.start_radio
) {
playerConnection.service.startRadioSeamlessly()
playerConnection.playQueue(YouTubeQueue.radio(mediaMetadata))
onDismiss()
}
GridMenuItem(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fun PrivacySettings(
onCheckedChange = onPauseListenHistoryChange
)
SwitchPreference(
title = { Text(stringResource(R.string.pause_listen_history)) },
title = { Text(stringResource(R.string.pause_remote_listen_history)) },
icon = { Icon(Icons.Rounded.History, null) },
checked = pauseRemoteListenHistory,
onCheckedChange = onPauseRemoteListenHistoryChange,
Expand Down

0 comments on commit 25fd2ab

Please sign in to comment.