diff --git a/app/src/main/java/it/niedermann/owncloud/notes/edit/SearchableBaseNoteFragment.java b/app/src/main/java/it/niedermann/owncloud/notes/edit/SearchableBaseNoteFragment.java index 12d0cf2d..c1da9942 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/edit/SearchableBaseNoteFragment.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/edit/SearchableBaseNoteFragment.java @@ -87,8 +87,11 @@ public abstract class SearchableBaseNoteFragment extends BaseNoteFragment { super.onViewCreated(view, savedInstanceState); checkDirectEditingAvailable(); if (isDirectEditEnabled()) { + ExtendedFloatingActionButton edit = getNormalEditButton(); + if (edit != null) edit.setVisibility(View.GONE); final ExtendedFloatingActionButton directEditingButton = getDirectEditingButton(); directEditingButton.setExtended(false); + directEditingButton.setVisibility(View.VISIBLE); ExtendedFabUtil.toggleExtendedOnLongClick(directEditingButton); directEditingButton.setOnClickListener(v -> { if (listener != null) {