fix(ExternalShareActivity): set theme before opening compose

Fixes https://github.com/sk22/megalodon/issues/926.
This commit is contained in:
FineFindus 2024-08-05 14:28:20 +02:00
parent c26df5762f
commit f3d600282e
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 2 additions and 0 deletions

View File

@ -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();