1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-05 12:01:35 +00:00

Explicitly set navigation bar color for PostViewV2Fragment. Fixes https://github.com/austinhuang0131/barinsta/issues/326

This commit is contained in:
Ammar Githam 2020-12-01 22:21:18 +09:00
parent 06f4ab56c8
commit 28dab3cf0f
2 changed files with 8 additions and 2 deletions

View file

@ -220,7 +220,7 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment {
@Override
public void onCreate(@Nullable final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setStyle(DialogFragment.STYLE_NO_FRAME, android.R.style.Theme_Translucent);
setStyle(DialogFragment.STYLE_NO_FRAME, R.style.PostViewV2Style);
fragmentActivity = (MainActivity) getActivity();
mediaService = MediaService.getInstance();
final Bundle arguments = getArguments();