fix: fix wrong navbar color in AccountSwitcherSheet.java

This commit is contained in:
LucasGGamerM 2023-08-24 14:20:48 -03:00
parent 546e349229
commit b0d75b6120
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ 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.colorM3Surface)), !UiUtils.isDarkTheme());
setNavigationBarBackground(new ColorDrawable(UiUtils.alphaBlendColors(UiUtils.getThemeColor(activity, R.attr.colorM3Surface),
UiUtils.getThemeColor(activity, R.attr.colorM3Primary), 0.05f)), !UiUtils.isDarkTheme());
}
public void setOnClick(BiConsumer<String, Boolean> onClick) {