From f9b4f9d1b4acb4634b592b4a9c98d7f20db41325 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Thu, 24 Aug 2023 07:29:53 -0300 Subject: [PATCH] refactor: use updated m3 colors on AccountSwitcherSheet.java --- .../java/org/joinmastodon/android/ui/AccountSwitcherSheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 48508940a..c0f251ee1 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java @@ -118,7 +118,7 @@ public class AccountSwitcherSheet extends BottomSheet{ content.setBackgroundResource(R.drawable.bg_bottom_sheet); content.addView(list); setContentView(content); - setNavigationBarBackground(new ColorDrawable(UiUtils.getThemeColor(getContext(), R.attr.colorWindowBackground)), !UiUtils.isDarkTheme()); + setNavigationBarBackground(new ColorDrawable(UiUtils.getThemeColor(getContext(), R.attr.colorM3Surface)), !UiUtils.isDarkTheme()); } public void setOnClick(BiConsumer onClick) {