From a47609ae7637d2f467f1ad9874470f8cd76df040 Mon Sep 17 00:00:00 2001 From: Philipp Walter Date: Tue, 28 May 2024 15:24:23 +0200 Subject: [PATCH] fix(ui): android navbar color (#1893) --- .../java/com/bitkit/modules/SplashScreen/SplashScreenModule.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/src/main/java/com/bitkit/modules/SplashScreen/SplashScreenModule.java b/android/app/src/main/java/com/bitkit/modules/SplashScreen/SplashScreenModule.java index 170c57093..9991ada65 100644 --- a/android/app/src/main/java/com/bitkit/modules/SplashScreen/SplashScreenModule.java +++ b/android/app/src/main/java/com/bitkit/modules/SplashScreen/SplashScreenModule.java @@ -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