From 16c0ff2f0b8f3b29e7b6b1246ef3c1dcc02dc18a Mon Sep 17 00:00:00 2001 From: sk Date: Mon, 23 Jan 2023 10:13:23 +0100 Subject: [PATCH] fix wrong status bar color closes sk22#363 --- .../joinmastodon/android/fragments/ThreadFragment.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java index b4de4d184..8c7933d2e 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java @@ -126,4 +126,14 @@ public class ThreadFragment extends StatusListFragment{ public boolean isItemEnabled(String id){ return !id.equals(mainStatus.id); } + + @Override + public boolean wantsLightStatusBar(){ + return !UiUtils.isDarkTheme(); + } + + @Override + public boolean wantsLightNavigationBar(){ + return !UiUtils.isDarkTheme(); + } }