mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
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:
committed by
Michelle Tang
parent
5b04107447
commit
85b19bfe23
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user