mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-02 06:42:47 -04:00
Fix navigation bar button colors
This commit is contained in:
@@ -640,7 +640,7 @@ public class LoyaltyCardViewActivity extends CatimaAppCompatActivity implements
|
||||
binding.bottomAppBar.setBackgroundColor(darkenedColor);
|
||||
if (Build.VERSION.SDK_INT >= 27) {
|
||||
WindowInsetsControllerCompat wic = new WindowInsetsControllerCompat(getWindow(), binding.getRoot());
|
||||
wic.setAppearanceLightNavigationBars(false);
|
||||
wic.setAppearanceLightNavigationBars(Utils.needsDarkForeground(darkenedColor));
|
||||
getWindow().setNavigationBarColor(darkenedColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user