From 4010e024385e975ae99237ea424299d2fa3a8781 Mon Sep 17 00:00:00 2001 From: Balazs Toldi Date: Tue, 22 Aug 2023 21:53:08 +0200 Subject: [PATCH] Fix instance info navigation bar colour --- .../infinityforlemmy/activities/InstanceInfoActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/activities/InstanceInfoActivity.java b/app/src/main/java/eu/toldi/infinityforlemmy/activities/InstanceInfoActivity.java index 92213761..4d3383e1 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/activities/InstanceInfoActivity.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/activities/InstanceInfoActivity.java @@ -105,6 +105,9 @@ public class InstanceInfoActivity extends BaseActivity { setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); + + // Remove transparency from navigation bar + getWindow().setNavigationBarColor(mCustomThemeWrapper.getBackgroundColor()); int markdownColor = customThemeWrapper.getPostContentColor(); int postSpoilerBackgroundColor = markdownColor | 0xFF000000;