mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 14:08:00 +01:00
fix picture deleting
This commit is contained in:
parent
6af43c0b81
commit
86a0495a2f
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ public class ViewPagerFragment extends Fragment implements View.OnClickListener
|
|||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
final View view = inflater.inflate(R.layout.pager_item, container, false);
|
||||
if (savedInstanceState != null) {
|
||||
|
||||
if (path == null && savedInstanceState != null) {
|
||||
path = savedInstanceState.getString(PATH);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue