Fix propfind exception if customProperties = null

This commit is contained in:
Ming Ming 2021-07-15 16:00:49 +08:00
parent 8985c04af9
commit 2e67ea8ce0

View file

@ -266,7 +266,7 @@ class _Files {
if (richWorkspace != null) {
builder.element("nc:rich-workspace");
}
for (final p in customProperties) {
for (final p in customProperties ?? []) {
builder.element(p);
}
});