Эх сурвалжийг харах

remove leftover

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 5 жил өмнө
parent
commit
e9b06843e8

+ 0 - 12
src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

@@ -45,7 +45,6 @@ import android.view.View;
 import android.view.ViewGroup;
 import android.widget.AbsListView;
 import android.widget.PopupMenu;
-import android.widget.RelativeLayout;
 
 import com.google.android.material.snackbar.Snackbar;
 import com.nextcloud.client.account.UserAccountManager;
@@ -279,17 +278,6 @@ public class OCFileListFragment extends ExtendedListFragment implements
             currentSearchType = SearchType.NO_SEARCH;
         }
 
-        if (savedInstanceState != null) {
-            final View fabView = v.findViewById(R.id.fab_main);
-            final RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams)
-                    fabView.getLayoutParams();
-            layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, 1);
-            new Handler().post(() -> {
-                fabView.setLayoutParams(layoutParams);
-                fabView.invalidate();
-            });
-        }
-
         Bundle args = getArguments();
         boolean allowContextualActions = args != null && args.getBoolean(ARG_ALLOW_CONTEXTUAL_ACTIONS, false);
         if (allowContextualActions) {