mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
This commit is contained in:
parent
6718a36933
commit
cb329b1e37
1 changed files with 6 additions and 3 deletions
|
@ -1081,9 +1081,12 @@ public class FileDisplayActivity extends FileActivity implements FileFragment.Co
|
|||
syncAndUpdateFolder(false, true);
|
||||
|
||||
OCFile startFile = null;
|
||||
OCFile fileArgs = IntentExtensionsKt.getParcelableArgument(getIntent(), EXTRA_FILE, OCFile.class);
|
||||
if (getIntent() != null && fileArgs != null) {
|
||||
startFile = fileArgs;
|
||||
if (getIntent() != null) {
|
||||
OCFile fileArgs = IntentExtensionsKt.getParcelableArgument(getIntent(), EXTRA_FILE, OCFile.class);
|
||||
if (fileArgs != null) {
|
||||
startFile = fileArgs;
|
||||
setFile(startFile);
|
||||
}
|
||||
setFile(startFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue