diff --git a/app/src/main/java/com/bobbyesp/metadator/presentation/pages/mediaplayer/MediaplayerViewModel.kt b/app/src/main/java/com/bobbyesp/metadator/presentation/pages/mediaplayer/MediaplayerViewModel.kt index 50c5cfa..1572f82 100644 --- a/app/src/main/java/com/bobbyesp/metadator/presentation/pages/mediaplayer/MediaplayerViewModel.kt +++ b/app/src/main/java/com/bobbyesp/metadator/presentation/pages/mediaplayer/MediaplayerViewModel.kt @@ -2,7 +2,6 @@ package com.bobbyesp.metadator.presentation.pages.mediaplayer import android.content.Context import android.net.Uri -import android.util.Log import androidx.annotation.OptIn import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope @@ -121,8 +120,6 @@ class MediaplayerViewModel @Inject constructor( copiedList.remove(firstSong) copiedList.add(0, firstSong) - Log.d("MediaplayerViewModel", "playRandomQueue: copiedList: $copiedList") - loadQueueSongs(copiedList) } } diff --git a/app/ui/src/main/java/com/bobbyesp/ui/components/text/PreConfiguredOutlinedTextField.kt b/app/ui/src/main/java/com/bobbyesp/ui/components/text/PreConfiguredOutlinedTextField.kt index 2bcf29c..55d0421 100644 --- a/app/ui/src/main/java/com/bobbyesp/ui/components/text/PreConfiguredOutlinedTextField.kt +++ b/app/ui/src/main/java/com/bobbyesp/ui/components/text/PreConfiguredOutlinedTextField.kt @@ -19,6 +19,7 @@ import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource +import androidx.compose.ui.text.style.TextOverflow import com.bobbyesp.ui.R @Composable @@ -45,7 +46,7 @@ fun PreConfiguredOutlinedTextField( modifier = modifier, value = text ?: "", onValueChange = setText, - label = { Text(text = label) }, + label = { Text(text = label, maxLines = 1, overflow = TextOverflow.Ellipsis) }, enabled = enabled, readOnly = readOnly, keyboardOptions = keyboardOptions,