Skip to content

Commit

Permalink
fix(ui): android navbar color (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr authored May 28, 2024
1 parent ef7996d commit a47609a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public static void show(@NonNull final Activity activity) {

// Set app background color back to black
activity.getWindow().setBackgroundDrawableResource(R.color.black);
activity.getWindow().setNavigationBarColor(ContextCompat.getColor(activity, R.color.black));

activity.runOnUiThread(() -> {
// Leave out the second argument if you're not using animations
Expand Down

0 comments on commit a47609a

Please sign in to comment.