remove leftover

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-07-23 08:19:26 +02:00
parent 6a925b7f27
commit e9b06843e8
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -45,7 +45,6 @@ import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.AbsListView; import android.widget.AbsListView;
import android.widget.PopupMenu; import android.widget.PopupMenu;
import android.widget.RelativeLayout;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.nextcloud.client.account.UserAccountManager; import com.nextcloud.client.account.UserAccountManager;
@ -279,17 +278,6 @@ public class OCFileListFragment extends ExtendedListFragment implements
currentSearchType = SearchType.NO_SEARCH; 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(); Bundle args = getArguments();
boolean allowContextualActions = args != null && args.getBoolean(ARG_ALLOW_CONTEXTUAL_ACTIONS, false); boolean allowContextualActions = args != null && args.getBoolean(ARG_ALLOW_CONTEXTUAL_ACTIONS, false);
if (allowContextualActions) { if (allowContextualActions) {