From f3d600282e233f5dad977424ea679235ae8d5212 Mon Sep 17 00:00:00 2001 From: FineFindus Date: Mon, 5 Aug 2024 14:28:20 +0200 Subject: [PATCH] fix(ExternalShareActivity): set theme before opening compose Fixes https://github.com/sk22/megalodon/issues/926. --- .../java/org/joinmastodon/android/ExternalShareActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ExternalShareActivity.java b/mastodon/src/main/java/org/joinmastodon/android/ExternalShareActivity.java index 2df80dd96..588d26996 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ExternalShareActivity.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ExternalShareActivity.java @@ -86,6 +86,8 @@ public class ExternalShareActivity extends FragmentStackActivity{ } private void openComposeFragment(String accountID){ + AccountSession session=AccountSessionManager.get(accountID); + UiUtils.setUserPreferredTheme(this, session); getWindow().setBackgroundDrawable(null); Intent intent=getIntent();