We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f93ff commit c146f14Copy full SHA for c146f14
app/src/main/java/it/niedermann/owncloud/notes/edit/NoteEditFragment.java
@@ -33,6 +33,7 @@
33
34
import com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton;
35
import com.google.android.material.floatingactionbutton.FloatingActionButton;
36
+import com.owncloud.android.lib.common.utils.Log_OC;
37
38
import it.niedermann.owncloud.notes.R;
39
import it.niedermann.owncloud.notes.branding.BrandingUtil;
@@ -182,7 +183,8 @@ public void onResume() {
182
183
@Override
184
protected void onNoteLoaded(Note note) {
185
super.onNoteLoaded(note);
- if (binding == null) {
186
+ if (binding == null || note == null) {
187
+ Log_OC.w(TAG, "Note is null, onNoteLoaded");
188
return;
189
}
190
0 commit comments