Skip to content

Commit

Permalink
add missing 'StringProperty' suffix to messageStringProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 28, 2023
1 parent 5e96e40 commit 1d69140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/mediaPipe/MediaPipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,11 @@ class MediaPipe {
}

// Display a dialog indicating that the MediaPipe feature is not going to work because it requires internet access.
private static showOopsDialog( message: TReadOnlyProperty<string> ): void {
private static showOopsDialog( messageStringProperty: TReadOnlyProperty<string> ): void {

// Waiting for next step ensures we will have a sim to append to the Dialog to.
stepTimer.runOnNextTick( () => {
const offlineDialog = new OopsDialog( message, {
const offlineDialog = new OopsDialog( messageStringProperty, {
closeButtonListener: () => {
offlineDialog.hide();
offlineDialog.dispose();
Expand Down

0 comments on commit 1d69140

Please sign in to comment.