Rename highlight category to poi_highlight

This commit is contained in:
Ajay Ramachandran
2021-08-17 22:05:19 -04:00
parent 28096e1ba6
commit 8b348a2aeb
5 changed files with 14 additions and 15 deletions

View File

@@ -44,11 +44,10 @@ export default class Utils {
}
getCategoryActionType(category: Category): CategoryActionType {
switch (category) {
case "highlight":
return CategoryActionType.POI;
default:
return CategoryActionType.Skippable;
if (category.startsWith("poi_")) {
return CategoryActionType.POI;
} else {
return CategoryActionType.Skippable;
}
}