Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3999f8ea authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Remove dead code

parent fcebf67c
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -273,7 +273,6 @@ public abstract class BaseNoteFragment extends BrandedFragment implements Catego
        scrollToY(originalScrollY);
        final var scrollView = getScrollView();
        if (scrollView != null) {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
            scrollView.setOnScrollChangeListener((View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) -> {
                if (scrollY > 0) {
                    note.setScrollY(scrollY);
@@ -281,7 +280,6 @@ public abstract class BaseNoteFragment extends BrandedFragment implements Catego
            });
        }
    }
    }

    public void onCloseNote() {
        if (!titleModified && originalNote == null && getContent().isEmpty()) {