Skip to content

Commit

Permalink
dynamic string support for OopsDialog, #319
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Aug 27, 2022
1 parent 7680224 commit 3dafb55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/MemoryLimitDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ class MemoryLimitDialog extends OopsDialog {
phetioDocumentation: 'This dialog is displayed when the sim has reached its memory limit.'
}, options );

//TODO https://github.com/phetsims/natural-selection/issues/319 convert OopsDialog param to TReadOnlyProperty<string>
super( naturalSelectionStrings.memoryLimitMessage, options );
super( naturalSelectionStrings.memoryLimitMessageProperty, options );
}
}

Expand Down

0 comments on commit 3dafb55

Please sign in to comment.