mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
refactor: consistent use of SocialItem over ListItem
This commit is contained in:
parent
7da94fb3ef
commit
31dce1a0f8
@ -71,11 +71,7 @@ fun SettingsScreen(
|
||||
|
||||
Divider()
|
||||
SocialItem(R.string.github, Icons.Default.Code, viewModel::openGitHub)
|
||||
ListItem(
|
||||
modifier = Modifier.clickable(onClick = onClickLicenses),
|
||||
headlineText = { Text(stringResource(R.string.opensource_licenses)) },
|
||||
leadingContent = { Icon(Icons.Default.LibraryBooks, contentDescription = null) },
|
||||
)
|
||||
SocialItem(R.string.opensource_licenses, Icons.Default.LibraryBooks, onClickLicenses)
|
||||
SocialItem(R.string.screen_contributors_title, Icons.Default.Group, onClickContributors)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user