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 54d9f4e5..503fbc9d 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 @@ -89,8 +89,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) {