Fix incorrectly oriented back navigation icons for top app bar RTL layouts.

Replace `symbol_arrow_left_24` with `symbol_arrow_start_24` (which has auto-mirroring enabled) for top app bar navigation back icons to properly support RTL layouts.
This commit is contained in:
Jeffrey Starke
2025-04-03 10:13:41 -04:00
committed by Michelle Tang
parent 5b04107447
commit 85b19bfe23
23 changed files with 24 additions and 23 deletions

View File

@@ -140,7 +140,7 @@ private fun TopAppBar(
Scaffolds.DefaultTopAppBar(
title = pluralStringResource(R.plurals.GroupsInCommon__n_groups_in_common_title, groupCount, NumberFormat.getInstance().format(groupCount)),
titleContent = { _, title -> Text(text = title, style = MaterialTheme.typography.titleLarge) },
navigationIconPainter = painterResource(R.drawable.symbol_arrow_left_24),
navigationIconPainter = painterResource(R.drawable.symbol_arrow_start_24),
onNavigationClick = onBackPress,
scrollBehavior = scrollBehavior
)