Skip to content

Commit e00889a

Browse files
committed
Fix highlighting for Python and SCIO (#22600)
1 parent 63919e4 commit e00889a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • playground/frontend/playground_components/lib/src/models

playground/frontend/playground_components/lib/src/models/sdk.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class Sdk with EquatableMixin {
8585
return known.firstWhereOrNull((e) => e.id == value);
8686
}
8787

88-
static final _idToHighlightMode = {
88+
static final _idToHighlightMode = <String, Mode>{
8989
Sdk.java.id: mode_java.java,
9090
Sdk.go.id: mode_go.go,
91-
Sdk.python: mode_python.python,
92-
Sdk.scio: mode_scala.scala,
91+
Sdk.python.id: mode_python.python,
92+
Sdk.scio.id: mode_scala.scala,
9393
};
9494

9595
Mode? get highlightMode => _idToHighlightMode[id];

0 commit comments

Comments
 (0)