From 9ef43cc6d37ace897ae1e580b16bc32e00d4cc88 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 3 Jun 2023 21:54:39 -0300 Subject: [PATCH] feat: make nav bar color consistent with account switcher sheet Merge this commit and the one before this one @sk22 --- .../java/org/joinmastodon/android/ui/AccountSwitcherSheet.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java b/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java index 0eb9f205d..b3f143213 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java @@ -119,8 +119,7 @@ public class AccountSwitcherSheet extends BottomSheet{ content.setBackgroundResource(R.drawable.bg_bottom_sheet); content.addView(list); setContentView(content); - setNavigationBarBackground(new ColorDrawable(UiUtils.alphaBlendColors(UiUtils.getThemeColor(activity, R.attr.colorM3Surface), - UiUtils.getThemeColor(activity, R.attr.colorM3Primary), 0.05f)), !UiUtils.isDarkTheme()); + setNavigationBarBackground(new ColorDrawable(UiUtils.getThemeColor(getContext(), R.attr.colorWindowBackground)), !UiUtils.isDarkTheme()); } private void confirmLogOut(String accountID){