fix: type from string

This commit is contained in:
Prateek Sunal
2025-07-23 15:42:48 +05:30
parent f2791abd7c
commit cfbacc3b45

View File

@@ -16,8 +16,8 @@ EntityType typeFromString(String type) {
return EntityType.location;
case "cgroup":
return EntityType.cgroup;
case "sconfig":
return EntityType.cgroup;
case "smart_album":
return EntityType.smartAlbum;
}
debugPrint("unexpected entity type $type");
return EntityType.unknown;