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.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){