mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
settings: add icons to Manage downloads and Licenses
This commit is contained in:
@@ -20,6 +20,8 @@ import androidx.compose.foundation.verticalScroll
|
|||||||
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.Add
|
import androidx.compose.material.icons.rounded.Add
|
||||||
|
import androidx.compose.material.icons.rounded.Description
|
||||||
|
import androidx.compose.material.icons.rounded.Download
|
||||||
import androidx.compose.material.icons.rounded.Edit
|
import androidx.compose.material.icons.rounded.Edit
|
||||||
import androidx.compose.material3.AlertDialog
|
import androidx.compose.material3.AlertDialog
|
||||||
import androidx.compose.material3.Button
|
import androidx.compose.material3.Button
|
||||||
@@ -276,6 +278,7 @@ fun SettingsScreen(
|
|||||||
item {
|
item {
|
||||||
ListItem(
|
ListItem(
|
||||||
headlineContent = { Text("Manage downloads") },
|
headlineContent = { Text("Manage downloads") },
|
||||||
|
leadingContent = { Icon(Icons.Rounded.Download, contentDescription = null) },
|
||||||
modifier = Modifier.clickable(onClick = onOpenDownloads),
|
modifier = Modifier.clickable(onClick = onOpenDownloads),
|
||||||
colors = ListItemDefaults.colors(containerColor = Color.Transparent),
|
colors = ListItemDefaults.colors(containerColor = Color.Transparent),
|
||||||
)
|
)
|
||||||
@@ -284,6 +287,7 @@ fun SettingsScreen(
|
|||||||
item {
|
item {
|
||||||
ListItem(
|
ListItem(
|
||||||
headlineContent = { Text("Licenses") },
|
headlineContent = { Text("Licenses") },
|
||||||
|
leadingContent = { Icon(Icons.Rounded.Description, contentDescription = null) },
|
||||||
modifier = Modifier.clickable(onClick = onOpenLicenses),
|
modifier = Modifier.clickable(onClick = onOpenLicenses),
|
||||||
colors = ListItemDefaults.colors(containerColor = Color.Transparent),
|
colors = ListItemDefaults.colors(containerColor = Color.Transparent),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user