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

Commit a747c5d0 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Ensure that the BaseNoteFragment view has been created before loading and...


Ensure that the BaseNoteFragment view has been created before loading and applying the notes content.

Signed-off-by: default avatarStefan Niedermann <info@niedermann.it>
parent dad6836f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -99,8 +99,8 @@ public abstract class BaseNoteFragment extends BrandedFragment implements Catego
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        executor.submit(() -> {
            try {
                SingleSignOnAccount ssoAccount = SingleAccountHelper.getCurrentSingleSignOnAccount(requireContext().getApplicationContext());