diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index 5dd15e4ac6..f15f6bc4d3 100644 --- a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -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"; diff --git a/src/com/owncloud/android/ui/fragment/OCFileListFragment.java b/src/com/owncloud/android/ui/fragment/OCFileListFragment.java index 2f67f006a8..7fd87099cb 100644 --- a/src/com/owncloud/android/ui/fragment/OCFileListFragment.java +++ b/src/com/owncloud/android/ui/fragment/OCFileListFragment.java @@ -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(); }