Browse Source

Fixed build after rebasing

David A. Velasco 9 years ago
parent
commit
b811eefe95

+ 1 - 1
src/com/owncloud/android/ui/activity/ShareActivity.java

@@ -163,7 +163,7 @@ public class ShareActivity extends FileActivity
         if (mSearchFragment != null){
             getSupportFragmentManager().popBackStackImmediate();
             mSearchFragment = null;
-            mShareFileFragment.refreshUsersOrGroupsList();
+            mShareFileFragment.refreshUsersOrGroupsListFromDB();
         }
     }
 

+ 0 - 2
src/com/owncloud/android/ui/fragment/ShareFileFragment.java

@@ -218,8 +218,6 @@ public class ShareFileFragment extends Fragment
      * Get users and groups from the server to fill in the "share with" list
      */
     public void refreshUsersOrGroupsListFromServer(){
-        mShares = new ArrayList<>();
-
         // Show loading
         ((ShareActivity) getActivity()).showLoadingDialog(getString(R.string.common_loading));
         // Get Users and Groups