forked from mirrors/gecko-dev
Bug 1903304 - Use regular style (not headline) for the "no permission" string in the permissions view. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D214128 Differential Revision: https://phabricator.services.mozilla.com/D214352
This commit is contained in:
parent
279da030d6
commit
711a0f5129
1 changed files with 4 additions and 14 deletions
|
|
@ -72,20 +72,10 @@ fun AddonPermissionsScreen(
|
|||
|
||||
if (permissions.isEmpty() && (optionalPermissions.isEmpty() && originPermissions.isEmpty())) {
|
||||
item {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(top = 8.dp, start = 16.dp, bottom = 32.dp, end = 16.dp),
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(R.string.addons_does_not_require_permissions),
|
||||
color = FirefoxTheme.colors.textPrimary,
|
||||
style = FirefoxTheme.typography.headline8,
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.semantics { heading() },
|
||||
)
|
||||
}
|
||||
TextListItem(
|
||||
label = stringResource(R.string.addons_does_not_require_permissions),
|
||||
maxLabelLines = Int.MAX_VALUE,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue