mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-30 06:24: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()
|
Divider()
|
||||||
SocialItem(R.string.github, Icons.Default.Code, viewModel::openGitHub)
|
SocialItem(R.string.github, Icons.Default.Code, viewModel::openGitHub)
|
||||||
ListItem(
|
SocialItem(R.string.opensource_licenses, Icons.Default.LibraryBooks, onClickLicenses)
|
||||||
modifier = Modifier.clickable(onClick = onClickLicenses),
|
|
||||||
headlineText = { Text(stringResource(R.string.opensource_licenses)) },
|
|
||||||
leadingContent = { Icon(Icons.Default.LibraryBooks, contentDescription = null) },
|
|
||||||
)
|
|
||||||
SocialItem(R.string.screen_contributors_title, Icons.Default.Group, onClickContributors)
|
SocialItem(R.string.screen_contributors_title, Icons.Default.Group, onClickContributors)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user