refactor: use updated m3 colors on AccountSwitcherSheet.java

This commit is contained in:
LucasGGamerM 2023-08-24 07:29:53 -03:00
parent 568f249608
commit f9b4f9d1b4
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class AccountSwitcherSheet extends BottomSheet{
content.setBackgroundResource(R.drawable.bg_bottom_sheet); content.setBackgroundResource(R.drawable.bg_bottom_sheet);
content.addView(list); content.addView(list);
setContentView(content); 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<String, Boolean> onClick) { public void setOnClick(BiConsumer<String, Boolean> onClick) {