Fix icon tint
This commit is contained in:
parent
5a82834459
commit
52545bc620
3 changed files with 3 additions and 4 deletions
|
|
@ -105,7 +105,6 @@ fun ChangeAccountProviderFormView(
|
||||||
IconTitleSubtitleMolecule(
|
IconTitleSubtitleMolecule(
|
||||||
modifier = Modifier.padding(top = 16.dp, bottom = 40.dp, start = 16.dp, end = 16.dp),
|
modifier = Modifier.padding(top = 16.dp, bottom = 40.dp, start = 16.dp, end = 16.dp),
|
||||||
iconImageVector = Icons.Filled.Home,
|
iconImageVector = Icons.Filled.Home,
|
||||||
iconTint = MaterialTheme.colorScheme.primary,
|
|
||||||
title = stringResource(id = R.string.screen_account_provider_form_title),
|
title = stringResource(id = R.string.screen_account_provider_form_title),
|
||||||
subTitle = stringResource(id = R.string.screen_account_provider_form_subtitle),
|
subTitle = stringResource(id = R.string.screen_account_provider_form_subtitle),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -278,12 +278,12 @@ internal fun LoginErrorDialog(error: Throwable, onDismiss: () -> Unit) {
|
||||||
|
|
||||||
@Preview
|
@Preview
|
||||||
@Composable
|
@Composable
|
||||||
internal fun LoginRootScreenLightPreview(@PreviewParameter(LoginPasswordStateProvider::class) state: LoginPasswordState) =
|
internal fun LoginPasswordViewLightPreview(@PreviewParameter(LoginPasswordStateProvider::class) state: LoginPasswordState) =
|
||||||
ElementPreviewLight { ContentToPreview(state) }
|
ElementPreviewLight { ContentToPreview(state) }
|
||||||
|
|
||||||
@Preview
|
@Preview
|
||||||
@Composable
|
@Composable
|
||||||
internal fun LoginRootScreenDarkPreview(@PreviewParameter(LoginPasswordStateProvider::class) state: LoginPasswordState) =
|
internal fun LoginPasswordViewDarkPreview(@PreviewParameter(LoginPasswordStateProvider::class) state: LoginPasswordState) =
|
||||||
ElementPreviewDark { ContentToPreview(state) }
|
ElementPreviewDark { ContentToPreview(state) }
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ fun IconTitleSubtitleMolecule(
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
iconResourceId: Int? = null,
|
iconResourceId: Int? = null,
|
||||||
iconImageVector: ImageVector? = null,
|
iconImageVector: ImageVector? = null,
|
||||||
iconTint: Color = Color.Unspecified,
|
iconTint: Color = MaterialTheme.colorScheme.primary,
|
||||||
) {
|
) {
|
||||||
Column(modifier) {
|
Column(modifier) {
|
||||||
RoundedIconAtom(
|
RoundedIconAtom(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue