diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationReactionOverlay.java b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationReactionOverlay.java index 5034569fdb..8bd6a18e3c 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationReactionOverlay.java +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationReactionOverlay.java @@ -236,13 +236,9 @@ public final class ConversationReactionOverlay extends RelativeLayout { revealAnimatorSet.end(); hideAnimatorSet.start(); - if (Build.VERSION.SDK_INT >= 21 && activity != null) { + if (Build.VERSION.SDK_INT >= 23 && activity != null) { activity.getWindow().setStatusBarColor(originalStatusBarColor); - - if (!ThemeUtil.isDarkTheme(getContext()) && Build.VERSION.SDK_INT >= 23) { - activity.getWindow().getDecorView().setSystemUiVisibility(activity.getWindow().getDecorView().getSystemUiVisibility() & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); - } - + activity.getWindow().getDecorView().setSystemUiVisibility(activity.getWindow().getDecorView().getSystemUiVisibility() & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); activity = null; } diff --git a/app/src/main/res/layout/conversation_reaction_long_press_toolbar.xml b/app/src/main/res/layout/conversation_reaction_long_press_toolbar.xml index f4b6f0478f..4610588f94 100644 --- a/app/src/main/res/layout/conversation_reaction_long_press_toolbar.xml +++ b/app/src/main/res/layout/conversation_reaction_long_press_toolbar.xml @@ -4,7 +4,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/reactions_overlay_toolbar_background_color" - android:theme="@style/TextSecure.DarkActionBar.ReactionOverlay" + android:theme="?reactions_overlay_toolbar_overflow_style" app:contentInsetStart="0dp" app:contentInsetStartWithNavigation="48sp" app:menu="@menu/conversation_reactions_long_press_menu" diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index bf7865454b..2c721d8760 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -108,6 +108,7 @@ + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index e62b0efed7..06bb62c5ed 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -346,6 +346,12 @@ @color/core_white + +