feat: make nav bar color consistent with account switcher sheet

Merge this commit and the one before this one @sk22
This commit is contained in:
LucasGGamerM 2023-06-03 21:54:39 -03:00
parent 24df7d49d5
commit 9ef43cc6d3
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,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.alphaBlendColors(UiUtils.getThemeColor(activity, R.attr.colorM3Surface), setNavigationBarBackground(new ColorDrawable(UiUtils.getThemeColor(getContext(), R.attr.colorWindowBackground)), !UiUtils.isDarkTheme());
UiUtils.getThemeColor(activity, R.attr.colorM3Primary), 0.05f)), !UiUtils.isDarkTheme());
} }
private void confirmLogOut(String accountID){ private void confirmLogOut(String accountID){