Преглед на файлове

Fix the removal of "select all" from the folder picker

Before the wrong id for the menu entry was used

Signed-off-by: Tilo Spannagel <development@tilosp.de>
Tilo Spannagel преди 6 години
родител
ревизия
e6bfdcf158
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/owncloud/android/ui/fragment/LocalFileListFragment.java

+ 1 - 1
src/main/java/com/owncloud/android/ui/fragment/LocalFileListFragment.java

@@ -122,7 +122,7 @@ public class LocalFileListFragment extends ExtendedListFragment implements Local
     @Override
     public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
         if (mContainerActivity.isFolderPickerMode()) {
-            menu.removeItem(R.id.action_select_all_action_menu);
+            menu.removeItem(R.id.action_select_all);
             menu.removeItem(R.id.action_search);
         } else {
             super.onCreateOptionsMenu(menu, inflater);