diff --git a/lib/src/codelessly.dart b/lib/src/codelessly.dart index 6cfccad..ca84fe3 100644 --- a/lib/src/codelessly.dart +++ b/lib/src/codelessly.dart @@ -332,7 +332,7 @@ class Codelessly { initErrorLogger(); assert( - status is! CEmpty, + status is CEmpty || status is CConfigured, 'The SDK cannot be configured if it is not idle. ' 'Consider calling [Codelessly.dispose] before reconfiguring.', );