mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-24 07:37:30 +00:00
close #1737
This commit is contained in:
parent
9358309c89
commit
a0983249bb
@ -268,11 +268,14 @@ public class PostViewV2Fragment extends Fragment implements EditTextDialogFragme
|
|||||||
@Override
|
@Override
|
||||||
public void onSaveInstanceState(@NonNull final Bundle outState) {
|
public void onSaveInstanceState(@NonNull final Bundle outState) {
|
||||||
super.onSaveInstanceState(outState);
|
super.onSaveInstanceState(outState);
|
||||||
|
try {
|
||||||
final Media media = viewModel.getMedia();
|
final Media media = viewModel.getMedia();
|
||||||
if (media.getType() == MediaItemType.MEDIA_TYPE_SLIDER) {
|
if (media.getType() == MediaItemType.MEDIA_TYPE_SLIDER) {
|
||||||
outState.putInt(ARG_SLIDER_POSITION, sliderPosition);
|
outState.putInt(ARG_SLIDER_POSITION, sliderPosition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception _) {}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPrimaryNavigationFragmentChanged(final boolean isPrimaryNavigationFragment) {
|
public void onPrimaryNavigationFragmentChanged(final boolean isPrimaryNavigationFragment) {
|
||||||
|
Loading…
Reference in New Issue
Block a user