mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Merge pull request #1231 from jsrck/1221-details-page-reappears
Picture "details "page reappear when it shouldn't. #1221
This commit is contained in:
commit
fcee6e3741
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue