mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
moved requestCode to Fragment
This commit is contained in:
parent
8d038e89a9
commit
f34a9ddf5b
2 changed files with 3 additions and 2 deletions
|
@ -141,7 +141,6 @@ public class FileDisplayActivity extends HookActivity
|
|||
private boolean mSyncInProgress = false;
|
||||
|
||||
private static String DIALOG_UNTRUSTED_CERT = "DIALOG_UNTRUSTED_CERT";
|
||||
public static String DIALOG_CREATE_FOLDER = "DIALOG_CREATE_FOLDER";
|
||||
private static String DIALOG_UPLOAD_SOURCE = "DIALOG_UPLOAD_SOURCE";
|
||||
private static String DIALOG_CERT_NOT_SAVED = "DIALOG_CERT_NOT_SAVED";
|
||||
|
||||
|
|
|
@ -90,6 +90,8 @@ public class OCFileListFragment extends ExtendedListFragment
|
|||
|
||||
private static final String GRID_IS_PREFERED_PREFERENCE = "gridIsPrefered";
|
||||
|
||||
private static String DIALOG_CREATE_FOLDER = "DIALOG_CREATE_FOLDER";
|
||||
|
||||
private FileFragment.ContainerActivity mContainerActivity;
|
||||
|
||||
private OCFile mFile = null;
|
||||
|
@ -252,7 +254,7 @@ public class OCFileListFragment extends ExtendedListFragment
|
|||
public void onClick(View v) {
|
||||
CreateFolderDialogFragment dialog =
|
||||
CreateFolderDialogFragment.newInstance(mFile);
|
||||
dialog.show(getActivity().getSupportFragmentManager(), FileDisplayActivity.DIALOG_CREATE_FOLDER);
|
||||
dialog.show(getActivity().getSupportFragmentManager(), DIALOG_CREATE_FOLDER);
|
||||
getFabMain().collapse();
|
||||
recordMiniFabClick();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue