Merge pull request #1231 from jsrck/1221-details-page-reappears

Picture "details "page reappear when it shouldn't. #1221
This commit is contained in:
Mario Đanić 2017-08-05 10:23:00 +02:00 committed by GitHub
commit fcee6e3741

View file

@ -1035,6 +1035,7 @@ public class FileDisplayActivity extends HookActivity
//if PreviewImageActivity called this activity and mDualPane==false then calls PreviewImageActivity again
if((getIntent().getAction()!=null && getIntent().getAction().equalsIgnoreCase(ACTION_DETAILS)) && !mDualPane){
getIntent().setAction(null);
getIntent().putExtra(EXTRA_FILE, (OCFile) null);
startImagePreview(getFile());
}