From 9ca19077e77b9445f7ff6f34f40b2050e00b787e Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 27 Jul 2020 10:03:25 +0200 Subject: [PATCH] Remove invalid assert Not sure why I put this assert, it doesn't seem to make sense. --- lib/core/note.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/note.dart b/lib/core/note.dart index 8080511f..595d9620 100644 --- a/lib/core/note.dart +++ b/lib/core/note.dart @@ -291,7 +291,6 @@ class Note with NotesNotifier { // FIXME: What about error handling? Future save() async { - assert(_filePath != null); assert(_data != null); assert(_data.body != null); assert(_data.props != null);