From 8c144625016a5241b5aff5c8f92655454f432fb6 Mon Sep 17 00:00:00 2001 From: Arne Date: Mon, 23 Dec 2024 19:43:34 +0100 Subject: [PATCH] Change to new back arrow everywhere --- .../java/eu/siacs/conversations/ui/ConversationsActivity.java | 2 +- src/main/res/values-night/themes.xml | 1 + src/main/res/values/themes.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java index 9b81c6c7a..ed858dad8 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -1424,7 +1424,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio if (actionBar == null) { return; } - actionBar.setHomeAsUpIndicator(R.drawable.ic_arrow_back_24dp); + actionBar.setHomeAsUpIndicator(0); final FragmentManager fragmentManager = getFragmentManager(); final Fragment mainFragment = fragmentManager.findFragmentById(R.id.main_fragment); if (mainFragment instanceof ConversationFragment conversationFragment) { diff --git a/src/main/res/values-night/themes.xml b/src/main/res/values-night/themes.xml index e67701045..55469713f 100644 --- a/src/main/res/values-night/themes.xml +++ b/src/main/res/values-night/themes.xml @@ -28,6 +28,7 @@ @color/md_theme_dark_inverseOnSurface @color/md_theme_dark_inverseSurface @color/md_theme_dark_inversePrimary + @drawable/ic_arrow_back_24dp @drawable/outline_chat_white_24 @drawable/chat_selected_white_24 diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index ff078688c..bc28e3280 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -52,6 +52,7 @@ @color/md_theme_light_inversePrimary @style/Widget.MaterialDrawerStyle @style/Widget.MaterialDrawerHeaderStyle + @drawable/ic_arrow_back_24dp @drawable/outline_chat_black_24 @drawable/chat_selected_black_24 @@ -67,5 +68,4 @@ tools:ignore="ResourceCycle"> @layout/material_switch -