fix(ExternalShareActivity): set theme before opening compose
Fixes https://github.com/sk22/megalodon/issues/926.
This commit is contained in:
parent
c26df5762f
commit
f3d600282e
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ public class ExternalShareActivity extends FragmentStackActivity{
|
||||||
}
|
}
|
||||||
|
|
||||||
private void openComposeFragment(String accountID){
|
private void openComposeFragment(String accountID){
|
||||||
|
AccountSession session=AccountSessionManager.get(accountID);
|
||||||
|
UiUtils.setUserPreferredTheme(this, session);
|
||||||
getWindow().setBackgroundDrawable(null);
|
getWindow().setBackgroundDrawable(null);
|
||||||
|
|
||||||
Intent intent=getIntent();
|
Intent intent=getIntent();
|
||||||
|
|
Loading…
Add table
Reference in a new issue