mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
use the delete-sweep icon for clearing the up-next queue
This commit is contained in:
@@ -17,6 +17,7 @@ import androidx.compose.foundation.lazy.rememberLazyListState
|
|||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.automirrored.rounded.ArrowBack
|
import androidx.compose.material.icons.automirrored.rounded.ArrowBack
|
||||||
import androidx.compose.material.icons.rounded.Close
|
import androidx.compose.material.icons.rounded.Close
|
||||||
|
import androidx.compose.material.icons.rounded.DeleteSweep
|
||||||
import androidx.compose.material.icons.rounded.DragHandle
|
import androidx.compose.material.icons.rounded.DragHandle
|
||||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
@@ -499,7 +500,7 @@ private fun QueueSectionHeader(
|
|||||||
)
|
)
|
||||||
if (onClear != null) {
|
if (onClear != null) {
|
||||||
IconButton(onClick = onClear) {
|
IconButton(onClick = onClear) {
|
||||||
Icon(Icons.Rounded.Close, contentDescription = "Clear up next", modifier = Modifier.size(20.dp))
|
Icon(Icons.Rounded.DeleteSweep, contentDescription = "Clear up next", modifier = Modifier.size(20.dp))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user