Change to new back arrow everywhere

This commit is contained in:
Arne 2024-12-23 19:43:34 +01:00
parent 47e38e6404
commit 42f325efb8
3 changed files with 3 additions and 2 deletions

View file

@ -1424,7 +1424,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (actionBar == null) { if (actionBar == null) {
return; return;
} }
actionBar.setHomeAsUpIndicator(R.drawable.ic_arrow_back_24dp); actionBar.setHomeAsUpIndicator(0);
final FragmentManager fragmentManager = getFragmentManager(); final FragmentManager fragmentManager = getFragmentManager();
final Fragment mainFragment = fragmentManager.findFragmentById(R.id.main_fragment); final Fragment mainFragment = fragmentManager.findFragmentById(R.id.main_fragment);
if (mainFragment instanceof ConversationFragment conversationFragment) { if (mainFragment instanceof ConversationFragment conversationFragment) {

View file

@ -28,6 +28,7 @@
<item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item> <item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item> <item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item> <item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>
<item name="homeAsUpIndicator">@drawable/ic_arrow_back_24dp</item>
<item name="ic_chat_unselected" type="reference">@drawable/outline_chat_white_24</item> <item name="ic_chat_unselected" type="reference">@drawable/outline_chat_white_24</item>
<item name="ic_chat_selected" type="reference">@drawable/chat_selected_white_24</item> <item name="ic_chat_selected" type="reference">@drawable/chat_selected_white_24</item>

View file

@ -52,6 +52,7 @@
<item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item> <item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item>
<item name="materialDrawerStyle">@style/Widget.MaterialDrawerStyle</item> <item name="materialDrawerStyle">@style/Widget.MaterialDrawerStyle</item>
<item name="materialDrawerHeaderStyle">@style/Widget.MaterialDrawerHeaderStyle</item> <item name="materialDrawerHeaderStyle">@style/Widget.MaterialDrawerHeaderStyle</item>
<item name="homeAsUpIndicator">@drawable/ic_arrow_back_24dp</item>
<item name="ic_chat_unselected" type="reference">@drawable/outline_chat_black_24</item> <item name="ic_chat_unselected" type="reference">@drawable/outline_chat_black_24</item>
<item name="ic_chat_selected" type="reference">@drawable/chat_selected_black_24</item> <item name="ic_chat_selected" type="reference">@drawable/chat_selected_black_24</item>
@ -67,5 +68,4 @@
tools:ignore="ResourceCycle"> tools:ignore="ResourceCycle">
<item name="widgetLayout">@layout/material_switch</item> <item name="widgetLayout">@layout/material_switch</item>
</style> </style>
</resources> </resources>